Boost logo

Boost :

Subject: Re: [boost] Boost XML Serialization Stability across library versions
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-01-31 22:49:46


On 1/31/17 6:21 PM, Adlai Shawareb wrote:
> Thank you Robert. Is there a compression library that you think would be well suited for this?

use boost.iostreams for this. The serialization library can a
boost.stream so you stackup any combination of modules from there. One
is a zip stream.

>
> Regards,
> Adlai
>
> On 1/29/17 10:03 AM, Robert Ramey wrote:
>> This is the way that versioning is intended to be used. Note that this
>> verisoning is implemented for all archives types. So using XML wouldn't
>> add anything. I would say the only think you need to do is not use
>> binary archive. This might create difficulties if over the life of the
>> product, the compiler was upgraded. So if were me I'd use the text archive.
>>
>> I've you're strapped for space, you can compress the text stream on the
>> fly. This makes for a small, fast, guaranteed portable archive.
>>
>> I also can't stress enough that for this application, in addition to
>> running the serialization library test suite, you should add you're own
>> set of tests to test serialization on your own data types.
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>


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