Re: Wrote a Protobuf-like D (de)serialisation library - asking for comments / suggestions

2021-06-14 Thread Sinisa Susnjar via Digitalmars-d-learn
On Monday, 14 June 2021 at 07:14:27 UTC, Imperatorn wrote: Is it on dub? published it just now :)

Re: Wrote a Protobuf-like D (de)serialisation library - asking for comments / suggestions

2021-06-14 Thread Sinisa Susnjar via Digitalmars-d-learn
On Sunday, 13 June 2021 at 00:18:56 UTC, Ali Çehreli wrote: - If a struct contains all bitwise copyable members, instead of (de)serializing each member individually, the whole struct can by memcpy'ed. This may be a performance gain especially for arrays of structs: You can memcpy the whole

Wrote a Protobuf-like D (de)serialisation library - asking for comments / suggestions

2021-06-12 Thread Sinisa Susnjar via Digitalmars-d-learn
Hi, D newbie here, The library is on par with Google Protobuf performance-wise and does not need a pre-compiler like Protobuf does, but instead uses the meta programming facilities of D to (de)serialise D data types from/to binary messages. Some samples and unit tests are included. Here's