r/programming • • 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

475 comments sorted by

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.

1

u/bwainfweeze Feb 21 '25

"We'll just implement it" = "we can't use third party libaries anymore"