Working on new binary serialization module for phobos (hopefully)

CraigDillabaugh via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 1 12:22:34 PDT 2015


On Monday, 1 June 2015 at 14:45:08 UTC, Jacob Carlborg wrote:
> On 2015-06-01 14:52, Sean Campbell wrote:
>> I've been working on a new serialization module for Phobos and 
>> its only
>> reliant on 4 Phobos modules
>> it is available at
>> https://github.com/sycam0inc/phobos/blob/master/std/experimental/serialization.d
>>
>>
>> I would like some feedback on it
>
> I had a quick look at the code. Based on that and how short the 
> code is I'm guessing it lacks some features.
>
> I've been working on a serialization package for Phobos for a 
> long time. Basically moving Orange [1] in to Phobos.
>
> My serialization library supports:
>
> * Fully automatic serialization
> * Serializing non-public fields
> * Serializing without registering types (except when serialized 
> through a base class reference)
> * Serializing third party types
> * Custom serialization, both intrusive and no-intrusive
> * Tracking of references, pointers and arrays to only serialize 
> the data once
> * Properly restores arrays and slices
> * Separate front end (serializer) from back end 
> (archiver/format)
> * Deserializing of classes without default constructor
>
> [1] https://github.com/jacob-carlborg/orange

I noticed there hasn't been any activity on the Github repo for 8 
months.  Why is that?  Do you consider this a completely finished 
product, or are you held up by the PHobos review process?


More information about the Digitalmars-d mailing list