Spyke
linux·LinuxbyTobu

Binder (Android's core IPC) Rust rewrite posted to LKML

Performance is basically the same (in microbenchmarks), they went as far as preserving the use of red black trees for an apples to apples comparison, but it's going to improve security as binder runs inside every process.

That means binder is going to join Asahi graphics, the Android Bluetooth stack, and puzzlefs in the serious drivers written in Rust club.

https://lore.kernel.org/rust-for-linux/[email protected]/T/Open linkView original on lemmy.ml
lemmy.ml

IPC standing for Inter Process Communication in this instance.

11
kbin.social

It's instructions per clock/cycle in a hardware context, because you can't use clock speeds to compare performance between processors.

6
pr06lefsreply
lemmy.ml

I find it annoying when an article contains ATANE.

0
lemmy.world

This could be interesting, a bit worried how this will effect existing binder in distros and DKMS modules since waydroid relies on these

2
Tobureply

Distros will work a bit at shipping the right toolchain the first time they ship a rust-written module, but otherwise, it can't break userspace. I guess they'll start by merging the close reimplementation to make regressions easy to track.

5
Atemureply
lemmy.ml

The C binder driver has been in the mainline kernel for one or two years at this point.

1

just because its in mainline, doesnt mean distros build them though we are now seeing more and more distros use them, binder/fs being enabled is not a given

3

You reached the end

Binder (Android's core IPC) Rust rewrite posted to LKML | Spyke