It’s difficult and even probably impossible to just “add” those things to C, while keeping everything else as it is.
Re:0.11.0 Release Notes
by packetlost on Friday August 04, 2023 @05:20PM
(#37006041)
Yeah, I know...
Re:0.11.0 Release Notes
by throwawaymaths on Friday August 04, 2023 @09:55PM
(#37008214)
Zig is very pedantic about how you're using your pointers and arrays, which c desperately needed.
Real enums, modules, etc.
A compile-time execution system (effectively replaces the preprocessor/macro system).
Syntax that is easier to `grep -r` for without complex regex.
Tests are a first-class citizen.
Safer type system.
Really, just a bunch of things that should've been added to C 20 years ago.