RFC: DBUS & KDE 4
mo002j at mail.rochester.edu
Thu Sep 30 01:16:52 BST 2004
> FWIW, I don't think it have to be that specific to conclude D-BUS will be
> well maintained. If we assume the complexity and contribution-threshold of
> DBUS is similar to DCOP, it is reasonable to conclude it will be at least
> as well maintained as DCOP.
I one was to replace libICE w/libLYOD (assuming I would finish the server
bits) I would estimate that DCOP would be around 7000 LoC of C++, server
included, not counting the IDL tools and the command-line client tool.
dbus-0.22's dbus/ directory (which does not include the Qt bindings) is
30,900 LOC of C, although to be fair that includes quite some unit tests.
So one code base would be more than 3 times larger, and written in a coding
style that's quite different from that of a typical KDE application.
 With libICE, it'd be 5000 lines of C++, 8000 lines of C.
 To be fair, it's partly because it's using the STL, while D-Bus has its
own implementation for everything.
More information about the kde-core-devel