Get the latest tech news

Begrudgingly Choosing CBOR over MessagePack


Protocols are important. Communicate with caution.

In my pursuit of a sharable programming language, I need a suitable serialization format that's (1) performant to send/store and (2) easy to understand/implement. After further experiments, I somehow convinced myself that this serialization format also needed to (3) commit to existing standards, (4) work overtime as a pseudo-IR, (5), and run on relatively crappy hardware. CBOR is just how MessagePack-like format should have been done from the beginning: it's technically superior in a sense that it's neat and simple, replacing many specialized rules with one generalization.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of MessagePack

MessagePack

Photo of CBOR

CBOR

Related news:

News photo

MessagePack: It's like JSON, but fast and small.