www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Versatile Serialization Library: Empowering Recursive Data

reply Comander <vandal gmx.com> writes:
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.
Aug 24 2023
parent reply Andrew <andrewlalisofficial gmail.com> writes:
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.
Aug 24 2023
next sibling parent Comander <vandal gmx.com> writes:
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.
The intention behind my library was to build upon these foundations while addressing some specific use cases and needs that I encountered in my own projects. I focused on providing a streamlined and easy-to-use solution for recursive serialization and deserialization. ust to clarify, my project wasn't cooked up with the intention of nestling into the cozy confines of the standard phobos library. I understand where you're coming from. Nobody wants to come across as overly critical. It's true that the tech world is familiar with different approaches – some folks dive into action while others prefer to offer constructive feedback/critic.
Aug 24 2023
prev sibling parent harakim <harakim gmail.com> writes:
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.
Aug 24 2023