Comment by IshKebab
5 months ago
I think the list of stars is probably not a good representation of popularity. Serde and JSON For Modern C++ have vastly more stars than any of those libraries and they both support CBOR and MessagePack.
I think CBOR is pretty decent though it is fairly inexplicable that a format designed in 2013 uses big endian.
I don't understand why the author doesn't prefer CBOR, isn't doing things according to an RFC standard better? MsgPack and CBOR are pretty much comparable, feature-wise.
Anyway, I work on IBM mainframes, and big endian is so much easier to read in hex. Not sure why anybody would want little endian, honestly.
> big endian is so much easier to read in hex. Not sure why anybody would want little endian, honestly.
Because you don't need to read these files in a hex editor and 99.999% of people aren't working on an IBM mainframe; they're working on a little endian machine.
> MsgPack and CBOR are pretty much comparable, feature-wise.
They're pretty much exactly the same thing. IIRC the difference is that CBOR specifies how to handle custom types slightly more verbosely.
serde doesn't support CBOR/MP, implementations of those support serde, and those implementations are listed in the table. You might have a point about JfMC++, though.
Good point and actually the MessagePack Serde library has way more stars than the CBOR one.