Boost logo

Boost :

From: Matthew Vogt (mattvogt_at_[hidden])
Date: 2005-11-16 16:31:04


Matthias Troyer wrote:
> On Nov 15, 2005, at 7:20 PM, Robert Ramey wrote:
>
>>And BTW, I think that making a portable binary archive (including
>>XDR, CDR,
>>etc variants) is MUCH harder than it first appears. And that's even
>>BEFORE
>>one thinks of adding in a bitwise collection optimization. So
>>that's why I
>>left portable_?archive as an example. Some people have corrected its
>>handling of endian-ness for some compilers so I guess someone is
>>using it
>>though I have no idea whom. Also ralf-k (I forget his whole name)
>>make a
>>very nice suggestion about how to do floating point numbers in a
>>portable
>>binary way.

Ralf W. Grosse-Kunstleve's post describing this method is here:

http://lists.boost.org/Archives/boost/2004/04/64419.php

> I actually have a portable binary archive based on XDR format, but it
> works only on UNIX operating systems, and that's why I have not
> submitted it to Boost.

Just out of interest, why is the method used platform-specific?

Matt


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk