Working on new binary serialization module for phobos (hopefully)

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Tue Jun 2 13:02:49 PDT 2015


On Tuesday, 2 June 2015 at 19:49:39 UTC, Jacob Carlborg wrote:
> On 2015-06-02 12:32, Basile Burg wrote:
>> On Monday, 1 June 2015 at 12:52:45 UTC, 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
>>
>> We are many on this segment. Your one is "under-featured". One 
>> thing i
>> need in serialization is the use of prop getter to serialize 
>> and prop
>> setter to deserialize (*) and not only a dump of the fields 
>> that
>> __traits() can find.
>
> Orange supports custom serialization [1].
>
>
> [1] 
> https://github.com/jacob-carlborg/orange/blob/master/tests/Custom.d

So does cerealed, in one of two ways, postBlit being the _much_ 
better one:

https://github.com/atilaneves/cerealed/blob/master/README.md

Atila


More information about the Digitalmars-d mailing list