relaunchd: a portable clone of launchd

Dan Partelly dan_partelly at rdsor.ro
Thu Jan 14 21:25:26 UTC 2016



> On 14 Jan 2016, at 15:40, Mark Heily <mark at heily.com> wrote:
> 
> My original comment was in the context of comparing libipc (which is
> socket-based) to Mach IPC.

You can compare your library to dbus, as it sits at the same abstraction level. You can’t really compare it to Mach IPC. API. What you can do is compare Unix sockets to Mach Ports if you want.  You basically try to rewrite dbus. 

> That's why I'm making libipc portable, in the hope that it
> becomes ubiquitous.


It wont. 

First of all, because dbus is already ubiquitous , and second, because it doesn't really solves any problems which ain’t already solved, and doesn't bring enough innovation to be adopted  widely .  It is not available early in boot, it doesn't support kernel endpoints, it’s simply yet another abstraction over unix sockets :P There are dozens of those. 

Besides,  right now, when I need  to do IPC over Unix Domain sockets I can do it very simply with the help of libnv(3) from FreeBSD 11. It is part of the OS, in base, it is extremely simply to use,  it doesn't require me to install any 3rd party service like your library.





More information about the freebsd-hackers mailing list