| ▲ | simjnd 2 days ago | |||||||||||||||||||||||||||||||
Zig's tooling is very good, so is the cross-compatibility story and tagged unions. But while you can have some/most of the benefits Zig has from modern C, I think an underrated benefit is the language culture. As a different language it was the opportunity for a reset, e.g. it's idiomatic Zig to pass allocators to functions, meaning every library in Zig will work this way. You could do that in C, but none or very few libraries do that so whenever you reach out to third-party dependencies (which is not a lot, in C as in Zig) you have to fight against C's traditional patterns. | ||||||||||||||||||||||||||||||||
| ▲ | wolvesechoes 2 days ago | parent [-] | |||||||||||||||||||||||||||||||
> Zig tooling is very good People say the same about Rust, and seems tooling for you all mean "convenient cli program" and not "vast IDE support, debuggers, qualified and platforms-specific toolchains, formal verification software". In those C blows Zig, even Rust, out of the water. | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||