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."

Get the Android app

Or read this on Phoronix

Read more on:

Photo of Google

Google

Photo of Linux

Linux

Photo of rust binder driver

rust binder driver

Related news:

News photo

Google Temporarily Pauses AI-Powered 'Homework Helper' Button in Chrome Over Cheating Concerns

News photo

Linux 6.18 To Make It Easier Parsing PCI Device Serial Numbers

News photo

Amazon, Google, Microsoft reportedly warn H-1B employees to stay in the US