News for hackers. Stuff that matters.
Re:Some mistakes Rust doesn't catch by zozbot234 on Tuesday February 08, 2022 @10:24AM (#30259460)
Rust is built to be 100% memory safe, not just "hard to misuse in practice". Of course the claim comes with some provisos about how you're always relying on 'unsafe' code, but there is real value to it. Zig is interesting but doesn't have that USP.
Re:Some mistakes Rust doesn't catch by sgt on Tuesday February 08, 2022 @12:54PM (#30261835)
So basically Zig is a toy, Rust is for serious stuff.
Re:Some mistakes Rust doesn't catch by catlifeonmars on Tuesday February 08, 2022 @01:47PM (#30262633)
That’s an oversimplification. There are many reasons to choose one programming language over another. Strong guarantees of memory safety is only one design parameter.
Re:Some mistakes Rust doesn't catch by kaba0 on Wednesday February 09, 2022 @12:45AM (#30269349)
Is C a toy?

Zig just provides different guarantees.