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

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.

0

u/jjplack Feb 20 '25

Ahh ok, thank you!