velocypack icon indicating copy to clipboard operation
velocypack copied to clipboard

Comparison to CBOR?

Open rse opened this issue 9 years ago • 2 comments

I've stumbled over your VPack and see your comparisons to other serialization formats. I'm just wondering how VPack compares to CBOR (http://cbor.io/), which in the meantime is even "standardized" in RFC 7049. Can you please add some comparison hints to your README for CBOR, too? Thanks.

rse avatar Mar 10 '16 22:03 rse

My take away:

  • compactness of the data is not a primary goal in CBOR
  • data types are comparable to VPack, but there are also a few that are not available in VPack and vice versa
  • performance not mentioned as goal for JSON to CBOR to JSON conversions
  • no fast subvalue access
  • self-contained, schemaless, extensible like VPack

CoDEmanX avatar Mar 10 '16 23:03 CoDEmanX

Thanks for the hint, I was not aware of CBOR so far. I will leave this issue open until I got round to look at CBOR and add comments to our README.

neunhoef avatar Mar 11 '16 08:03 neunhoef