Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

Google's "Painful To Maintain" Binder C Linux Driver Being Removed In Favor Of Rust

Дата публикации: 18-09-2026 16:26:32

Google's Binder driver written in the C programming language has long been part of the mainline kernel as the inter-process communication (IPC) mechanism used on Android. The past few years the Binder driver was rewritten in Rust as one of the first "real" drivers in the Rust programming language. The Rust Binder driver was upstreamed in Linux 6.18 and now for the upcoming Linux 7.4 kernel cycle, the old Binder C-based driver is set to be retired...

Основное содержимое страницы с новостью.

GOOGLE

Google's Binder driver written in the C programming language has long been part of the mainline kernel as the inter-process communication (IPC) mechanism used on Android. The past few years the Binder driver was rewritten in Rust as one of the first "real" drivers in the Rust programming language. The Rust Binder driver was upstreamed in Linux 6.18 and now for the upcoming Linux 7.4 kernel cycle, the old Binder C-based driver is set to be retired.

Now that the Rust Binder driver has matured enough and proven its usefulness in being easier to maintain and extend for new functionality, the old Binder C code is set to be removed. The Rust Binder driver has also proven it can be as competitive performance-wise -- or even faster -- than the original Binder driver.

Binder C removal

Google engineer Carlos Llamas wrote with the patch for removing the 11k lines of old Binder C code:

"The day has finally come. We are dropping the legacy C implementation of the Binder IPC driver in favor of its Rust version.

For 15+ years, the C driver has grown increasingly complex, making it incredibly painful to maintain and land new features without tripping over vulnerabilities. The Rust implementation alleviates most of these issues, so it's time for a change.

Alice Ryhl has worked hard on the Rust binder for the past couple of years, not only achieving full feature parity but also proving that it can match and often beat the performance of the C counterpart. Having run successfully on Android devices for some time now, we can no longer call this an "experiment".

It's time to move on, yank the C code, and focus all new features and optimizations on the Rust driver.

Long live the new Rust Binder king!"

Farewell to the old Binder driver. Greg Kroah-Hartman picked up this removal patch into the char-misc-next Git branch. With him queuing it into the char/misc code for "-next", it's set to be submitted for the Linux 7.4 merge window.

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1Linux 7.2 Drops Ancient PROFIBUS Driver: Ported From SCO Unix In 1998, Unused For Years0625-06-2026
2Google задействовал Rust-библиотеку Hickory в прошивке радиомодуля смартфонов Pixel 100711-04-2026
3Linux's Perf Script Command Much Faster With Overhaul As Python Module04.8321-09-2026
4Intel Xe Driver For Linux 7.4 Adds vRAM Health Check, Degraded Memory Handling08.2719-09-2026
5Old IBM Driver Joins Insecure SGI Drivers In Being Removed For Linux 7.308.0628-08-2026
6Создатель Linux Ubuntu подарит миру переводчик с самого главного языка программирования на модный язык зумеров08.2221-08-2026
7Linux Looking To Retire A Number Of Old ARM Platforms In Early 20270502-07-2026
8Intel Linux Driver Orphaned For Limiting RF Exposure To Humans04.8527-08-2026
9Google’s Massive Kernel Upgrade: Tensor Pixels Get a Performance Shot in the Arm (But Pixel 6 is Left Behind)2603-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 9. Тональность: 0. Информативность: 6.31. Источник: www.phoronix.com.