Mohamed Hassan

@oldmoe.bsky.social

TinyBits 0.6.0 is released, better memory management, smaller multi-object buffers and a more robust dictionary support With external dictionaries, a schema-less encoder like TinyBits can match (and sometimes exceed) the compactness of Protocol Buffers encoded output

Bild

TinyBits is getting a new interesting feature, you can now (using the repo's head) supply the pack/unpack method with an external dictionary. For shorter messages with no duplicate strings this can lead to a dramatic size reduction, from 96 to 34 bytes in the example below

Bild

If you are sending schema-less data from Ruby over the wire, or if you are storing it to disk, what is your best option among the current offering? I went through the most prominent serializers and got some interesting results oldmoe.blog/2025/04/21/r...

Ruby data serialization options in 2025

Oj vs JSON vs MessagePack vs CBOR Introduction It had been a while since I had to look at serialization performance in Ruby. I generally would just use MessagePack for performance, and if I needed …

oldmoe.blog