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

-50

u/Lachee Feb 20 '25 edited Feb 20 '25

When you own the codebase and not stepping all over everyone else to implement rust, go for it.

Reinventing the wheel is never a good idea but in this case it seems to have been a significant improvement.

edit: the salty crustations to my perfectly mid comment really shows why there is significant pushback for rust. Y'all just white knight rust.

It perfectly highlights my original point, you will step over any existing developer to force your language onto them.

27

u/a-cream Feb 20 '25

More and more codebases are rusting

0

u/jjplack Feb 20 '25

Whats the matter with rust and not go?

9

u/Botahamec Feb 20 '25

Go needs a runtime, and that requires having an operating system. So, for example, you can't use Go to write a memory allocator because Go requires already having a memory allocator in order to function. I think there's an embedded version of Go, but it's quite different and uses a separate compiler.

→ More replies (1)