4 ms·
At this point, what is the difference between MessagePack and CBOR?
by remram 2y ago
At this point, what is the difference between MessagePack and CBOR?
- markisus 2y agoNot sure but I decided on CBOR for my own project because I found a nice open source C library called TinyCBOR which can serialize and deserialize without any memory allocations. It works using an iterator that you manually move up and down into sub containers. https://intel.github.io/tinycbor/current/ https://intel.github.io/tinycbor/current/
- __s 2y agoCBOR seems a bit more complicated. I've written a few msgpack encoders/decoders, usually over a weekend using https://github.com/msgpack/msgpack/blob/master/spec.md https://github.com/msgpack/msgpack/blob/master/spec.md See https://github.com/PeerDB-io/gluamsgpack https://github.com/PeerDB-io/gluamsgpack
- remram 2y agoI found this: https://news.ycombinator.com/item?id=42664664 https://news.ycombinator.com/item?id=42664664 Unfortunate.