Versatile Serialization Library: Empowering Recursive Data Serialization and Deserialization

harakim harakim at gmail.com
Fri Aug 25 01:46:07 UTC 2023


On Thursday, 24 August 2023 at 21:29:34 UTC, Andrew wrote:
> On Thursday, 24 August 2023 at 14:36:41 UTC, Comander wrote:
>> I've created a foundational library designed to simplify 
>> recursive serialization and deserialization processes. This 
>> comprehensive tool offers assistance for fundamental types 
>> such as integrals, byte arrays, strings, and even arrays of 
>> objects. The primary objective is to enhance the efficiency of 
>> serialization and deserialization procedures on the whole. 
>> While there's room for improvement in the repository at 
>> https://github.com/Comander11/sd, it does deliver on its 
>> commitments.
>
> I hate to be that guy, but what does this library actually add 
> that others in the past haven't provided? It seems like it's 
> serializing to a simple size-prefixed binary format, but isn't 
> that already done by msgpack or protocol buffers or mir's serde 
> module (I think it was called that). Surely it would be more 
> productive in the long term to focus on one central 
> serialization/deserialization library, which could ideally sit 
> in phobos, rather than every new person proposing their own 
> flavor.

If you don't want to be that guy, just ask the questions without 
the commentary. Save that for later and then you can really nail 
them. :D For real, though, I hate being that guy and have found 
just asking the questions first is usually a nicer approach. I 
hope that helps.


More information about the Digitalmars-d-announce mailing list