From owner-freebsd-hackers@freebsd.org Thu Jan 14 21:25:26 2016 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3991DA82D2D for ; Thu, 14 Jan 2016 21:25:26 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from mail.rdsor.ro (mail.rdsor.ro [193.231.238.10]) by mx1.freebsd.org (Postfix) with ESMTP id C69E311A2 for ; Thu, 14 Jan 2016 21:25:25 +0000 (UTC) (envelope-from dan_partelly@rdsor.ro) Received: from [192.168.1.100] (unknown [79.117.100.196]) by mail.rdsor.ro (Postfix) with ESMTP id A36321FACB; Thu, 14 Jan 2016 23:25:17 +0200 (EET) Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: relaunchd: a portable clone of launchd From: Dan Partelly In-Reply-To: Date: Thu, 14 Jan 2016 23:25:17 +0200 Cc: Hubbard Jordan , FreeBSD Hackers Message-Id: References: <5687D3A9.5050400@NTLWorld.com> <817860B6-5D67-41A3-ADD7-9757C7E67C35@gmail.com> <07D83705-D89F-4125-B57B-920EDEBC8A85@rdsor.ro> <70975696-3E07-48B9-BFD1-3C2F51E715BB@icloud.com> <76E6AF2A-917B-41EB-883A-C27AB2BB9F71@ixsystems.com> <20160112125948.GH3625@kib.kiev.ua> <1D6BDF3C-28E7-40C4-A8A2-3A914A3CC76B@ixsystems.com> <66E766F4-66D5-41E1-B6E7-18E218B3711F@ixsystems.com> To: Mark Heily X-Mailer: Apple Mail (2.3112) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jan 2016 21:25:26 -0000 > On 14 Jan 2016, at 15:40, Mark Heily wrote: >=20 > 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=E2=80=99t 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.=20 > That's why I'm making libipc portable, in the hope that it > becomes ubiquitous. It wont.=20 First of all, because dbus is already ubiquitous , and second, because = it doesn't really solves any problems which ain=E2=80=99t 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=E2=80=99s simply yet another abstraction over unix sockets :P There = are dozens of those.=20 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.