| Binder was not even designed for Linux. The primary reason it is used is that (at the time) they wanted to abstract from Linux. "They" here is not Android/Google. Binder also specifies a message format -- even if not fully, since the kernel is going to peek into your message for things like FDs, binder objects, etc. Or your userspace is going to need to "special treat" these fields somehow. It competes in the same space as D-Bus no doubt. If the story of Android had been different, with the companies spinning off some years later, it may have very well ended up using Luna RPC (https://www.webosbrew.org/pages/luna-service-bus.html ) (which is practically indistinguishable from D-Bus, bar the JSON) or anything else, really. > D-Bus, Varlink and other "IPC solutions" on top of sockets can not do those things. WTF? Sure you can do on top of even pipes. Even XDR could... "Synchronous" is a very loose word here if you mean to be interrupted in the middle of a RPC call, anyway. |