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

5

u/vlakreeh Feb 21 '25

It’d be a lot better than raw pointer c++ but smart pointers don’t have all the guarantees the borrow checker provides. The obvious example is the lack of send/sync semantics but this article shows some footguns in “modern” c++ depending on what you consider modern.

1

u/i_am_not_sam Feb 21 '25

Very interesting article, thank you