Concise Binary Object Representation (CBOR) binary serialization library.

MrSmith via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sat Dec 20 06:11:54 PST 2014


On Friday, 19 December 2014 at 22:25:57 UTC, Nordlöw wrote:
> On Friday, 19 December 2014 at 18:26:26 UTC, MrSmith wrote:
>> Here is github link: https://github.com/MrSmith33/cbor-d
>> Destroy!
>
> It would be nice to have a side-by-side comparison with 
> http://msgpack.org/ which is in current use by a couple 
> existing D projects, include D Completion Daemon (DCD) and a 
> few of mine.

There is a comparison to msgpack here (and to other formats too): 
http://tools.ietf.org/html/rfc7049#appendix-E.2
which states:
    [MessagePack] is a concise, widely implemented counted binary 
serialization format, similar in many properties to CBOR, 
although somewhat less regular. While the data model can be used 
to represent JSON data, MessagePack has also been used in many 
remote procedure call (RPC) applications and for long-term 
storage of data.
    MessagePack has been essentially stable since it was first 
published around 2011; it has not yet had a transition. The 
evolution of MessagePack is impeded by an imperative to maintain 
complete backwards compatibility with existing stored data, while 
only few bytecodes are still available for extension.
    Repeated requests over the years from the MessagePack user 
community to separate out binary text strings in the encoding 
recently have led to an extension proposal that would leave 
MessagePack's "raw" data ambiguous between its usages for binary 
and text data. The extension mechanism for MessagePack remains 
unclear.


More information about the Digitalmars-d-announce mailing list