Y
Hacker News
new
|
ask
|
show
|
jobs
by
slopinthebag
68 days ago
That's a hack, not an interface lol
3 comments
lukaslalinsky
67 days ago
You would be terrified if you realized how the whole C-based GNOME/GTK ecosystem works :)
link
spiffyk
68 days ago
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?
link
pjmlp
68 days ago
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.
link