u/AndrewMD5in r/programming • Recommends
On “Bebop v3: a fast, modern replacement for Protocol Buffers”
We don’t try and compress data during serialization so the binary representation might be marginally bigger in some cases (for instance if you serialize a struct with two int32 fields, that’s 8 bytes regardless of the values), but it’s mostly extra zeros and you can run the buffer through something like zstd to get rid of those.
Someone did an independent benchmark that goes into more detail here