Tuesday, October 29, 2013

Geek! Concise Binary Object Representation (CBOR)...

Geek!  Concise Binary Object Representation (CBOR)...  I'm a little surprised that the IT world hasn't already converged on a single binary object representation, as they have for so many other things (e.g., TCP/IP and Unicode).  It's an obvious interoperability problem, and one that I've spent a ludicrous amount of my own engineering time on, converting back and forth between two different representations of exactly the same object.  CBOR is on an IETF “Standards Track” (RFC 7049), which doesn't guarantee acceptance, but certainly doesn't discourage it.

With a little googling, I found implementations in Ruby, C#, and Python.  Nothing so far in Java; I might fool around a bit with that myself...


  1. Well, I found a PERL implementation http://software.schmorp.de/pkg/CBOR-XS.html, but could you be so kind as to point to the implementations that you found in the other languages that you mention?

  2. Java, C#: https://github.com/peteroupc/CBOR