Protocol Buffers vs MessagePack vs CBOR for Embedded Serialization
Protocol Buffers need a code generator. MessagePack is simpler but schema-less. CBOR is self-describing and has an IETF spec. A benchmark on constrained hardware.
Protocol Buffers need a code generator. MessagePack is simpler but schema-less. CBOR is self-describing and has an IETF spec. A benchmark on constrained hardware.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Related notes
Tags
- serialization
- protobuf
- cbor
- embedded
- iot
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.