Comment by codr7
4 months ago
I'm pretty sure the second there is a significantly better alternative that offers the same flexibility and control, plenty of people will jump.
Same for C++.
Assuming everyone else is an idiot leads nowhere worth going.
https://ziglang.org/ is a solid future C-replacement, IMHO. There's pretty much no downsides and all upsides from a C hacker's perspective. It just hasn't reached 1.0 yet!
Zig is a nice language, but from a 10000 ft view it's not fundamentally different from C (thankfully) - at least from the CPU's point of view. Any hardware that's a good match for C is also a good match for Zig.
Not everyone thinks of Zig as a "no downsides and all upsides" C-replacement. First, a lot of people will take issue with it still being in beta and it being unknown how many more years will it take to reach 1.0. There are a bunch of C-replacements, or at least viable alternative languages out there. Both old and new. With more "C-killers" likely to pop-up in the not so distant future.
There are also a lot of people, after doing their Zig language reviews, that don't like it. Muratori (Handmade Hero) won't touch it and there was a recent article that's been covered on here and other sites, where the person explained why they stopped using it (linked below).
https://strongly-typed-thoughts.net/blog/zig-2025 (Zig; what I think after months of using it)
IIRC, the blog you linked was written by someone who loves Rust and other languages which have, to say the least, a different philosophy from C and Zig.
I'm not familiar with Muratori's opinion on Zig; do you have a link?
1 reply →