Using different binding on client/server

Daniel P. Berrange dan at
Thu Jul 21 02:16:18 EST 2005

On Wed, Jul 20, 2005 at 05:59:33PM +0200, P. Durante wrote:
> I just started hacking with dbus, I wonder if it's a problem having
> the server written using the GLib bindings (or no bindings at all) and
> the client using a "different flavour" of dbus bindings, like python
> (who use glib anyway) or Qt or whatever..

From the protocol & core implementation POV there's absolutely no 
problem at all - the protocol is language agnostic & all the different 
language bindings use the same low level C APIs under the hood. If
you do have issues, they'll either be bugs in the bindings (which 
should obviously be reported in the bug tracker), or a result of
the binding / application not implementing the full set of capabilities.

In the latter point, I'm thinking particularly of introspection data
support - if its incomplete there can be subtle data type conversion
edge cases between strongly & weakly typed languages. That said, the
introspection support is pretty good these days, so writing clients
with a different binding to the server is likely to be troublefree.
Even several releases back before introspection was completed, I
could quite successfully mix & match Perl+Python on both ends.

|=-            GPG key:       -=|
|=-       Perl modules:              -=|
|=-           Projects:               -=|
|=-   berrange at  -  Daniel Berrange  -  dan at    -=|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url :

More information about the dbus mailing list