Re:Revisiting the design approach to Zig
by kaba0 on Tuesday September 06, 2022 @12:12PM
(#32739152)
There is not many languages that would fair worse next to C. For starters, not being able to create any form of even minimal, zero-cost abstractions like a vector is criminal.
[ Parent
| on HN ]
Re:Revisiting the design approach to Zig
by naikrovek on Tuesday September 06, 2022 @01:16PM
(#32740092)
I think it's an apt comparison, Zig vs. C, given that Zig intends to replace C.
Go was aiming to be a replacement for C as well, but they didn't even try to reach that goal because Go programs require an OS to run on; something must host the runtime, even though it's included in the binary. I love Go and I dislike C quite a bit.
Zig vs. C seems fair to me, because there are no Zig zealots (or very few, at least not yet) and there are no C zealots who have lots of experience with C.