Floating-point and mixed-endianness in D-Bus (was: dbus mini-summit)

Thiago Macieira thiago at kde.org
Tue Aug 9 13:42:11 PDT 2011


On Tuesday, 9 de August de 2011 22:38:50 Rémi Denis-Courmont wrote:
> Sure. Little endian is not unique to CPUs
> 
> Or there is also the option of not interoperating buses of different 
> endianess. Even in the rare networked D-Bus case, that mixed endianess
> should  be an exception.

I believe the Java implementation uses big-endian messages by default, 
something that Matthew can confirm. As far as I recall, it does so because the 
default Java streaming operators will stream in big-endian mode.

Not that it can't be easily fixed in the Java code, though.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110809/f9732ee7/attachment.pgp>


More information about the dbus mailing list