Boost logo

Boost Users :

Subject: Re: [Boost-users] Sockets and structures?
From: OvermindDL1 (overminddl1_at_[hidden])
Date: 2009-09-25 15:25:49


On Fri, Sep 25, 2009 at 10:14 AM, Nat Goodspeed <nat_at_[hidden]> wrote:
> 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...).


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net