Re:Zig 0.16.0 Release Notes
by slopinthebag on Tuesday April 14, 2026 @11:54PM
(#47774526)
That's a hack, not an interface lol
[ Parent
| on HN ]
As plenty of other things in an "everything is explicit" language, whose goal is to be a safer C and nothing else.
The "module" system is another hack.
How is it a hack? I mean, you may not like the fact that Zig does not provide syntax sugar for interfaces, but how exactly do you think they are implemented in languages that do?
Re:Zig 0.16.0 Release Notes
by lukaslalinsky on Thursday April 16, 2026 @08:06AM
(#47791827)
You would be terrified if you realized how the whole C-based GNOME/GTK ecosystem works :)