2 Comments

It's a neat feature, tho not without dragons that made me looking for alternative ways to do interfaces in Zig: https://github.com/ziglang/zig/issues/591

Expand full comment

I think zig does not guarantee the order of the fields in a struct, that’s why something like @filedParentPtr has to exist.

Expand full comment