|
|
|
|
|
by rspeer
3800 days ago
|
|
From what I've read of the spec so far: msgpack has a confusion between text and binary data baked into it that will probably never be resolved, and CBOR deliberately fixes that. It also seems to have a better implementation of streaming data than msgpack. In msgpack, streaming is something you have to implement outside of the format itself, possibly by concatenating together many msgpack representations. CBOR has a way to say "here comes a streaming list, I'll tell you when it's done". BSON is a representation of MongoDB's data model and doesn't make that much sense to use without MongoDB. I currently use msgpack for a lot of things, but if CBOR's Python library is good enough, I might switch. |
|
I read somewhere that CBOR was better designed for extensibility, but don't know anything further about it.
One difference (on the non-technical side) is that CBOR is standardized through IETF.