[phobos] Interest in having a serializer in Phobos?

Lars Tandle Kyllingstad lars at kyllingen.net
Sun Aug 8 07:16:30 PDT 2010


On Sat, 2010-08-07 at 17:19 +0200, Jacob wrote:
> Is there any interest in having a serializer in Phobos? I have a serializer compatible with D2 which I licensed under the Boost license. This is the description from the project page:
> 
> Orange is a serialization library for D1 and D2, supporting both Tango and Phobos. It can serialize most of the available types in D, including third party types and can serialize through base class references. It supports fully automatic serialization of all supported types and also supports several ways to customize the serialization. Orange has a separate front end (the serializer) and back end (the archive) making it possible for the user to create new archive types that can be used with the existing serializer.
> 
> It's not very well tested but if there's some interest I'm hoping on getting more people to test the library. The project page is: http://dsource.org/projects/orange/

I agree (with everyone else) that Phobos should have a serialization
lib.  And now it seems we're spoilt for choices -- both Masahiro's
MsgPack serializer and Jacob's Orange are more or less complete, working
solutions being offered to us.

I have very little experience with using serialization libs, so I have
no idea how to determine which one is the better choice.  How do we
decide which one to use?  Perhaps a vote on the NG?

-Lars



More information about the phobos mailing list