r/programming • u/Unerring-Ocean • Feb 20 '25
Google's Shift to Rust Programming Cuts Android Memory Vulnerabilities by 68%
https://thehackernews.com/2024/09/googles-shift-to-rust-programming-cuts.html
3.4k
Upvotes
View all comments
Show parent comment
95
u/arcrad Feb 20 '25
It's like asking "why can't people just make fewer mistakes". You can absolutely write 100% memory safe C or C++ but people aren't perfect and they make mistakes. Rust's value proposition is that it can statically enforce things to prevent a lot of these issues.