logoalt Hacker News

noosphrtoday at 12:41 PM2 repliesview on HN

And to a good approximation all real world Rust uses unsafe everywhere.

So we now have a new code base in an undefined language which still has memory bugs.

This is progress.


Replies

kibwentoday at 12:57 PM

No, this is false. For Rust codebases that aren't doing high-peformance data structures, C interop, or bare-metal stuff, it's typical to write no unsafe code at all. I'm not sure who told you otherwise, but they have no idea what they're talking about.

show 2 replies
panstromektoday at 1:10 PM

The parent comments references real world data from Google: https://security.googleblog.com/2024/09/eliminating-memory-s...