Menu

Posts

The Missing Zig Polymorphism / Runtime Dispatch Reference

Polymorphism in Zig is not well explained, and there are no good references for it. It’s never explained why it’s like that. I decided to experiment my way there, and write about what I found. Zig does not have a convenient polymorphism language feature (like interface in C# or virtual methods in C++ classes), and it’s not going to get one (you can dig into the references to that issue to try to understand the discussion). The Missing Zig Polymorphism / Runtime Dispatch Reference full article

Site menu

Back to top