A Rust implementation of Android's Binder
A Rust implementation of Android's Binder
Posted Dec 7, 2023 10:59 UTC (Thu) by maxfragg (subscriber, #122266)In reply to: A Rust implementation of Android's Binder by mcon147
Parent article: A Rust implementation of Android's Binder
Linux is rather badly suited for IPC heavy architectures, since it exactly lacks an IPC mechanism, which does not shovel data through the kernel and at the same time provides sufficient security and abstractions, which simple shared memory is lacking.
In addition, binder originally was intended as an IPC mechanism, with implicit control flow changes (true RPC), which is something every microkernel offers, but linux historically lacked.
I am not sure, if binder still behaves that way, with all shift towards more of its code running in userspace, though.
In addition, binder originally was intended as an IPC mechanism, with implicit control flow changes (true RPC), which is something every microkernel offers, but linux historically lacked.
I am not sure, if binder still behaves that way, with all shift towards more of its code running in userspace, though.