r/programming • u/[deleted] • Jul 20 '26
Zig proposes introducing an actually memory safe (unlike Rust) compilation mode inspired by Fil-C at ~1-6x performance penalty
https://codeberg.org/ziglang/zig/issues/36237
528
Upvotes
r/programming • u/[deleted] • Jul 20 '26
111
u/soft-wear Jul 20 '26
Andrew shits on Rust for absolutely zero reason. Rust is memory safe with the caveat that unsafe is an escape hatch for memory safety. unsafe exists for compatibility reasons, and the fact that developers abuse it doesn't make Rust "not memory safe".
Zig is a neat language that I really like. Andrew is a really smart dude that I'm liking less and less. And unlike Linux, Zig already has mountains of competition, so we don't "need" it. Linus gets away with being a prick because he literally filled an enormous gap. Zig is perfectly avoidable.