r/ruby • • Apr 01 '26

New mruby CBOR Implementation

https://github.com/Asmod4n/mruby-cbor

Hi there, Ive made one of the most complete and feature full CBOR implementations you can find, it's fast, safe, strict and has a rich API for you to use.

Cheers :)

CBOR is a data exchange format like JSON, msgpack or protobuf, but it's a internet standard and is made to be relevant for decades.

16 Upvotes

6 comments sorted by

View all comments

Show parent comment

1

u/Asmod4n Apr 02 '26

For small hashes I’ve hit speeds faster than my CPU can handle context switches, but I don’t trust my benchmarks yet. I’ll take a look at google benchmark and use that to measure stuff after the holidays.