Subject: Re: [boost] [serialization] between 32 bit and 64 bit
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-09-05 03:38:08
Jinqiang Zhang wrote:
> I'm using boost.serialization for part of our messaging solution. Now
> here comes a problem: we want to communicate between 32bit and 64bit,
> is there a chance that using "text archive" would solve the problem ?
It should - but there might be some caviats.
Suppose you generated an integer on your 64 bit machine longer than 32 bits.
larger than 2^32 (~4,000,000,000. There is no way that the 32 bit machine
prepresent it so this wouldn't work. This isn't a problem with the library
an inherent limitation representing 64 bit integers on a 32 bit machine.
Other than this, it shold be fine.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk