Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Rust Adoption Drives Android Memory Safety Bugs Below 20% for First Time

Rust Adoption Drives Android Memory Safety Bugs Below 20% for First Time

Google has disclosed that the company's continued adoption of the Rust programming language in Android has resulted in the number of memory safety vulnerabilities falling below 20% of total vulnerabilities for the first time.
"We adopted Rust for its security and are seeing a 1000x reduction in memory safety vulnerability density compared to Android’s C and C++ code. But the biggest surprise was

https://thehackernews.com/2025/11/rust-a...emory.html
I am the official HF Help Bot.  You might get an automated PM from me with some helpful information.
Please read our Help Docs.
I should contribute to Android purely in shit C so I can drive that stat back up.

How many times do you need to tell Rust you're doing unsafe code though? Because doesn't it have the guardrails up pretty high unless you tear them down, same thing as C++ being unsafe by consequence of use, it's not the language at fault, just maybe safety nets don't exist as often or as easily usable in languages like that.

C# For example very safe.
Python almost bulletproof.

C++... Well, tie it in with Win32, I can Read/Write process memory, or even inside my own process, of course with any language that lets you dynamically allocate memory, if you don't handle it or be careful with it, you're going to step on your toes once or twice, and sometimes not right away.
[Image: 3.gif]


Possibly Related Threads...
Thread / Author Replies Views Last Post
by StanleyFeb 7, 2026 09:55 AM 0 84 Feb 7, 2026 09:55 AM
Last Post: Stanley
by StanleyJan 29, 2026 10:24 PM 1 71 Jan 29, 2026 10:24 PM
Last Post: Moooookie
by StanleyJan 16, 2026 07:05 AM 0 52 Jan 16, 2026 07:05 AM
Last Post: Stanley