Re:Zig – Type Resolution Redesign and Language Changes
by kprotty on Wednesday March 11, 2026 @10:06AM
(#47335748)
Zig gives things we really dont have yet: C + generics + good const eval + good build system + easy cross compilation + modern niceties (optionals, errors, sum types, slices, vectors, arbitrary bit packing, expression freedom).
Are there any other languages that provide this? Would genuinely consider the switch for some stuff if so.
Re:Zig – Type Resolution Redesign and Language Changes
by vitaminCPP on Tuesday March 17, 2026 @05:33PM
(#47418619)
+1 The zig toolchain is the state of the art currently.
Rust gives us memory safety by default and some awesome ML-ish type system features among other things, which are things we didn’t already have. Memory safety and almost totally automatic memory management with no runtime are big things too.
Go, meanwhile, is like a cleaner more modern Java with less baggage. You might also compare it to Python, but compiled.