"DBus Embedded" - a clean break

Havoc Pennington hp at pobox.com
Fri Jan 21 07:21:54 PST 2011


On Fri, Jan 21, 2011 at 8:16 AM, Simon McVittie
<simon.mcvittie at collabora.co.uk> wrote:
> Embedded code copies, just say no...
> (Debian has a shared library package for "libev with the default ABI",
> though.)

btw and off-topic, I think they're being dumbly doctrinaire here.
libev is totally designed for cut-and-paste and it'd be impractical to
try to maintain a fixed ABI on it or change projects using the
cut-and-paste to use the system copy. One may wish it were different,
but that's just how it's designed and maintained. You can't always
fight upstream.

You could write a _wrapper_ library powered by libev, perhaps,
designed to be a shared lib.

The fact is that cut-and-paste code is still better than wheel
reinvention, something that people miss sometimes in their crusade
against cut-and-paste.

oh, one advantage of libev being cut-and-paste code is that you could
patch out those asserts...


More information about the dbus mailing list