Get the latest tech news
Linux 6.18 Expected To Land Google's Rust Binder Driver
The past few years Google engineers have been reimplementing Android's Binder driver in the Rust programming language
Things to improve: Thousand-line functions, error-prone error handling, and confusing structure can occur as a code base grows organically. It's #1 (high complexity) that has made continuing to evolve Binder and resolving #2 (tech debt) exceptionally difficult without causing #3 (security issues). Additionally, we've been able to use the more expressive type system to encode the ownership semantics of the various structs and pointers, which takes the complexity of managing object lifetimes out of the hands of the programmer, reducing the risk of use-after-frees and similar problems."
Or read this on Phoronix