Rust in Android: move fast and fix things (Google Security Blog)

Post Syndicated from corbet original https://lwn.net/Articles/1046397/

The Google Security Blog has a
new post
on just how well the use of Rust is working out for the
Android project.

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 Rust’s impact on software
delivery. With Rust changes having a 4x lower rollback rate and
spending 25% less time in code review, the safer path is now also
the faster one.