Re: [eigen] Eigen binary I/O proposal

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


FWIW, I've been using Boost.Serialization to serialize Eigen types to binary and XML for quite awhile.  Boost.Serialization's separation of the archive and stream concepts allows all kinds of creative combinations, such as serializing to XML that is then written to a zlib compressed stream, etc.  Here is the relevent documentation for adding serialization support in a non-intrusive manner:

http://www.boost.org/doc/libs/1_39_0/libs/serialization/doc/tutorial.html#nonintrusiveversion

--- On Tue, 7/7/09, Rohit Garg <rpg.314@xxxxxxxxx> wrote:

From: Rohit Garg <rpg.314@xxxxxxxxx>
Subject: Re: [eigen] Eigen binary I/O proposal
To: eigen@xxxxxxxxxxxxxxxxxxx
Date: Tuesday, July 7, 2009, 1:01 PM

On Tue, Jul 7, 2009 at 10:52 AM, Mark Borgerding<mark@xxxxxxxxxxxxxx> wrote:
> It seems like there is a desire for as many "flavors" of persistence as
> there are applications

:)

> We could either try to come up with a common interface that allowed all of
> them or treat each as a special case, completely separable from the others.

Common interface for all of them, Oh no, definitely not.

> I may not understand all the issues, but in general I would recommend the
> latter -- treat the different methods individually.

Sounds good to me.

--
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/