25 Sep
2009
25 Sep
'09
7:25 p.m.
On Fri, Sep 25, 2009 at 10:14 AM, Nat Goodspeed
Or use Boost.Serialization to serialize your struct/class to a text archive and stream that with asio.
Boost.Serialization is good if you are going to serialize up vast hierarchies with lots of pointers that can be self referencing and such, but it tends to be very costly in execution speed. Something like Boost.Spirit2.1 can serialize things up to a binary format as well, and *very* fast. Although something like Google's open source message system could serialize up messages even better (we need a Boost implementation of that system... hmm...).