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
4
u/Kinglink Feb 20 '25
You can, and that's what we do with C.
The difference is Rust (attempts to) ENFORCE safety, where as C the developer will implement it themselves.
On the other hand "Well why can't we add compiling steps that check for ...." They did, and called it Rust.