Hacker News new | ask | show | jobs
by uecker 271 days ago
You would need to opt-in into zig first, which is more effort than opting into modern C when you come from C.
1 comments

i suggest you show this thread to a neutral third party and ask them if your line of argument makes sense.
I used Zig for my projects for a while, but moved back to C for similar reasons. C23, with gcc extensions, and using MISRA-like coding style where it makes sense, provides a similar experience to Zig but with seamless C interop. You dont have comptime, but my biggest lesson from my time in Zig is that I usually want to pass a vtable instead of monomophizing over input types.
Considering that basically nobody uses Zig, I think most neutral third-parties seem to agree.