Mohamed Hassan
oldmoe.bsky.social
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
May 16, 2025 at 6:46 PM
Reposted by Mohamed Hassan
May 13, 2025 at 8:23 AM
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
May 9, 2025 at 7:54 PM
TinyBits: A new schema-less binary serialization format. Fast to encode, fast to decode and generally smaller output than all other schema-less formats.

Currently available as a preview for C and Ruby. A Python module is also in the works.

oldmoe.blog/2025/05/05/s...
May 5, 2025 at 1:34 PM
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
April 26, 2025 at 11:16 PM