Sign in

Mohamed Hassan

@oldmoe.bsky.social
24 followers 8 following 13 posts
PostsRepliesMedia
Mohamed Hassan @oldmoe.bsky.social · 16/05/2025
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
110
Reposted by Mohamed Hassan
Lucian Ghinda @lucianghinda.com · 13/05/2025
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
New gems and updates from @Mohammad Ali @Sergio Bayona @Joshua Young @Étienne Barrié @Simon J @Brad Gessler @Stan Lo @Bozhidar Batsov @Avo and more
161
Mohamed Hassan @oldmoe.bsky.social · 09/05/2025
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
132
Mohamed Hassan @oldmoe.bsky.social · 05/05/2025
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...
3155
Mohamed Hassan @oldmoe.bsky.social · 27/04/2025
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...
oldmoe.blog
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 …
144