Google announces the Android Open Source Project now supports Rust for developing the OS itself, providing more memory safety guarantees than C and C++
Android as a complete OS solution involves a lot of moving parts. Very broadly speaking, these parts are the app ecosystem and then the OS itself.
Context & Ripple Effects
When AOSP added Rust in April 2021, it was the opening move in what became a multi-year rewrite of how Google builds operating systems: two months later Google was funding Rust work inside the Linux kernel itself, extending the same bet beyond its own platform.
The payoff arrived on a measurable curve — Google later reported that memory-safe vulnerabilities fell from 76% of Android flaws in 2019 to 24% by 2024 and projected just 36 reported memory safety flaws by end-2024 versus 220+ five years earlier. This announcement is the origin point that arc runs through.
First-order effects
- Google's own Android engineers gain a sanctioned alternative to C/C++ for writing new OS code, meaning every new component merged into AOSP from this point can carry compile-time memory safety guarantees rather than relying on post-hoc sanitizers.
- Device makers and SoC partners building off AOSP inherit both the benefit and the cost: fewer memory-corruption bugs to patch, but a second language toolchain to support in their build pipelines alongside the existing C/C++ codebase.
Second-order effects
- By validating Rust at Android's scale first, Google created cover for the Linux kernel effort it funded weeks later — the argument that memory-safe languages are production-ready for core OS work no longer rested on a single project's say-so.
- OEMs shipping long-lived Android devices see their security-patch burden shift: as new code lands in Rust, the share of exploitable memory bugs reaching commercial devices shrinks, changing where vendor QA and CVE triage resources go.
Third-order effects
- If the pattern holds, systems programming splits into a legacy C/C++ maintenance layer and a Rust growth layer across major OS projects — with Google's later move to develop Android fully in private while still publishing releases showing that openness now applies to source, not necessarily process.
- The measurable vulnerability decline gives security regulators and enterprise buyers a concrete precedent for demanding memory-safe languages in critical software procurement, turning a compiler choice into a compliance question.
The trend: Operating system development is migrating incrementally from C/C++ to memory-safe languages like Rust, with Google's Android-to-Linux sequence setting the template other platform owners will be measured against.