Working on new binary serialization module for phobos (hopefully)

Atila Neves via Digitalmars-d digitalmars-d at puremagic.com
Wed Jun 3 06:06:27 PDT 2015


On Wednesday, 3 June 2015 at 12:15:43 UTC, Jacob Carlborg wrote:
> On 2015-06-03 09:26, Atila Neves wrote:
>
>> From the unit tests, that doesn't seem to do the same thing, 
>> but I
>> could be wrong.
>
> No, it does not. But it can still be useful. Like if you want 
> to do any post processing after deserialization.

Right. In my case, which is totally and completely motivated by 
writing networking protocols, what I really want is to assemble 
packets with the least amount of code possible.

I'm already getting annoyed at having to write the amount of code 
that's necessary now; I'm currently working on improving cerealed 
to be smart enough to know which bytes in the packet correspond 
to length and do even more automatically.

Atila


More information about the Digitalmars-d mailing list