cognitect / transit-format

A data interchange format.
1.88k stars 36 forks source link

Document differences between CBOR and Transit #3

Closed arnehormann closed 10 years ago

arnehormann commented 10 years ago

Please add a comparison between Transit and CBOR (RFC 7049 Concise Binary Object Representation).

You already write about msgpack, CBOR borrows from it and adds type tagging and extensibility.

Transit and CBOR apparently address the same problems - but CBOR is fully specified in an RFC, supports all use cases I could see at a glance and is supported by a lot of implementations already.

Why should I choose Transit over CBOR?

jlouis commented 10 years ago

Transit does have one immediate advantage: If your language of choice has a working msgpack or JSON library, you can begin using transit right away. One could also imagine writing a new backend for Transit which supports CBOR directly and where essentially every type is a ground type.