Orange 1.0.0 beta - serialization library

Sean Kelly sean at invisibleduck.org
Mon Aug 29 10:19:51 PDT 2011


On Aug 20, 2011, at 9:16 AM, dsimcha wrote:

> This looks really great!  I'll try it out sometime later.  A few questions:
> 
> 1.  What other archiver formats besides XML might be useful?  (I remember binary can't work because of the way keys work, though messagepack is probably a better option for lightweight serialization in general.  Orange's niche is portability and serializing as many types as possible.)

JSON, Protobuf…

> 2.  What are the prospects for submitting this for inclusion in Phobos?  Serialization is something basic and universally needed enough that it should not require a third-party library.

Some form of serialization definitely needs to be in Phobos/Druntime.  The other day I was thinking that the basic framework for struct/class serialization might be nice in Druntime as a replacement for x.toString, with most of the actual functional bits in Phobos.


More information about the Digitalmars-d-announce mailing list