Re:Zig – Type Resolution Redesign and Language Changes
by simonask on Wednesday March 11, 2026 @09:18AM
(#47335200)
"More safety than C" is an incredibly low bar. These are hygiene features, which is great, but Rust offers a paradigm shift. It's an entirely different ballpark.
[ Parent
| on HN ]
Re:Zig – Type Resolution Redesign and Language Changes
by dnautics on Wednesday March 11, 2026 @11:18AM
(#47336760)
negative. For example bounds checking is turned on by default in Zig, which prevents classes of overflow safety errors.
Re:Zig – Type Resolution Redesign and Language Changes
by simonask on Thursday March 12, 2026 @03:47AM
(#47347696)
I don't think you've necessarily understood the scope and impact of the borrow checker. Bounds checking is just a sane default (hygiene), not a game changer.
Re:Zig – Type Resolution Redesign and Language Changes
by dnautics on Thursday March 12, 2026 @04:42PM
(#47356785)
I mean, I'm the author of this?
https://github.com/ityonemo/clr
so yes, I understand that it's important. It doesn't need to be in the compiler though? I think it's likely the case that you also don't need to have annotations littering the language.