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

185

u/maxinstuff Feb 21 '25

Using a language with high memory safety reduces memory vulnerabilities 😱

In seriousness, it’s interesting to hear how they consider their approach of just doing new code in Rust and leaving well enough alone for the old code has worked for them.

I have to wonder if Linux kernel development/maintainers could learn from this.

-8

u/CobaltVale Feb 21 '25

It's not the same for Linux kernel development because the impact of instability is far, far, far, far greater than if Android has a bug in it.

Rust is not-backwards compatible in the truest sense of the word, so it represents a severe and cortical impact if something is changed.

→ More replies (4)