5 ms·
Some form of notification publish/subscribe functionality is necessary in modern Linux. But dbus isn't very UNIX-y. It's also strangely opaque. With pipelines,
by pjc50 12y ago
Some form of notification publish/subscribe functionality is necessary in modern Linux. But dbus isn't very UNIX-y. It's also strangely opaque. With pipelines, you can see how the plumbing works. With dbus, programs can interact in nonobvious ways. Even worse is polkit, a poor replication of Windows Group Policy.
The most unixy solution is buried at the bottom of this thread, from Plan 9: https://news.ycombinator.com/item?id=9450988 https://news.ycombinator.com/item?id=9450988 ; but if that's not popular, then I think what people actually want for desktop purposes is an equivalent of the Windows PostMessage system.
- XorNot 12y agoPlan 9 in no way implies performance. Just because you can make it look like a filesystem, doesn't mean it actually is going to achieve anything special performance wise.
- jff 12y agoAnd in fact the performance of Plan 9 tended to be extremely poor when compared apples-to-apples with Linux. It's just that everything was so simple it felt fast, even if your filesystem throughput was crap.
- bitwize 12y ago> But dbus isn't very UNIX-y. This is what I call the "but muh unix" argument, beloved of neckbeards and often invoked against systemd as wellas kdbus. Sorry to say, but "does this feature make application developers happy" trumps "muh unix" when considering whether to add something to the kernel. Any inversion of this priority is a recipe for Microsoft to eat your lunch, as they did in the early 90s when Windows NT overtook commercial Unix in the enterprise space. (Monopoly schmonopoly: Windows was the better platform. It was easy to develop for and relatively uniform across desktop and server deployments.) The Unix philosophy has proven inadequate to meet the needs of real-world software integration: what's needed is the COM philosophy, wherein services register themselves under globally named endpoints and present typed structured discoverable APIs. D-bus provides that for Linux and no one so far has presented a better solution. As for Plan 9... yes, that's what you get when you apply the Unix philosophy in the extreme. Note that the UX for Plan 9 sucks, and if you look at the Plan 9 developer community it's a) very small and b) packed with the pathologically neckbearded.
- stevejones 12y ago> Sorry to say, but "does this feature make application developers happy" trumps "muh unix" when considering whether to add something to the kernel. Which application developers? A hell of a lot of developers are really really happy with "muh unix". Why should a bunch of hipsters with half baked ideas get to rob those developers of that happiness because pushing through half baked ideas makes them happy?
- digi_owl 12y agoIt seems to me that more and more of this comes up as people are moving onto Linux for "cloud services", bringing with them mental models honed on Windows (and to some degree, OSX).
- angersock 12y agoGross oversimplification. The Unix workstations were by and large simply a great deal more expensive, and there weren't any compelling options on x86 other than Windows, DOS, maybe OS/2, and a few other clones. It was pretty much pure business--the technical merits don't enter into it. That said, Microsoft took on a heroic burden to attempt backwards-compatibility. If you want a vindication of the Unix philosophy, look at the server space.
- vezzy-fnord 12y agoThe Unix philosophy has proven inadequate to meet the needs of real-world software integration I'm assuming that's why it's so trendy to talk about "microservices" these days. What's needed is the COM philosophy, wherein services register themselves under globally named endpoints and present typed structured discoverable APIs. The Unix philosophy doesn't say anything against implementing service discovery mechanisms. ...if you look at the Plan 9 developer community it's a) very small and b) packed with the pathologically neckbearded. My God, "pathologically neckbearded". That's just rich. Let's shit on everyone who shows us different ways of building systems that allow for greater composability and emergent features.
- smorrow 12y ago