Versatile Serialization Library: Empowering Recursive Data Serialization and Deserialization

Andrew andrewlalisofficial at gmail.com
Thu Aug 24 21:29:34 UTC 2023


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.


More information about the Digitalmars-d-announce mailing list