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
New gems and updates from @oldmoe.bsky.social @Sergio Bayona @joshuay03.bsky.social @bihi.bsky.social @simonjuk.bsky.social @bradgessler.com @st0012.dev @batsov.net @avohq.io and more
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
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...
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