News for hackers. Stuff that matters.
Re:Bus1 is the new Kdbus by dohqu8Zi on Saturday November 05, 2016 @07:20AM (#12879234)
Sadly, the author failed to read on the history of kdbus and AF_BUS.

Just using UNIX domain socks is not the solution. This is more or less what dbus currently does and has major issues with memory accounting and trusts.

Re:Bus1 is the new Kdbus by pjc50 on Saturday November 05, 2016 @08:13AM (#12879421)
Can you give a brief explanation of that?

It does seem to me that a "pipe with fanout", or similar new type of socket, might be the best way of doing this.

Or if you really want to annoy people, copy the Windows PostMessage() system.

Re:Bus1 is the new Kdbus by naasking on Saturday November 05, 2016 @08:37AM (#12879500)
See previous discussion: https://news.ycombinator.com/item?id=12800995

There are various other properties of Bus1 that make it better than all other alternatives, but obviously relying on it makes your program non-portable. IPC is a mess on POSIX systems.

Re:Bus1 is the new Kdbus by davmac on Saturday November 05, 2016 @11:50AM (#12880235)
> Sadly, the author failed to read on the history of kdbus and AF_BUS

On the contrary, I've been following their development from the beginning, with some interest.

> This is more or less what dbus currently does

Actually D-Bus multiplexes all messages, so they all pass through the message bus daemon. What I'm proposing is clearly different.

> and has major issues with memory accounting

This is a valid technical point, though I'm not sure it's ever been a problem in practice and I'm not convinced it needed a whole new IPC mechanism to solve.