[Home] [By Thread] [By Date] [Recent Entries]
Hi all, On Mon, 31 Dec 2012 01:54:20 +0000 David Lee <dlee@c...> wrote: > Interesting YABFF ... > > This seems a lot like BSON which MongoDB uses for its messaging > > http://bsonspec.org/#/specification > How are BSON and MessagePack different from http://code.google.com/p/protobuf/ ? Regards, Shlomi Fish > ---------------------------------------- > David A. Lee > dlee@c... > http://www.xmlsh.org > > -----Original Message----- > From: Simon St.Laurent [mailto:simonstl@s...] > Sent: Sunday, December 30, 2012 6:29 PM > To: xml-dev@l... > Subject: Doing unto JSON what... > > Years ago I hoped that programmers would move away from XML and toward > formats that were a better fit for the kinds of messages they wanted to > send between specific kinds of senders. I pointed to ASN.1 as a binary > option (though never one I could make work), and was happy to see JSON > emerge as a simpler text-based format for many kinds of messages. > > Today, this one seems to keep coming across my Twitter feed, even from > people reporting that they're using it. > > ------------------------------------------------ > MessagePack: It's like JSON. but fast and small. > > MessagePack is an efficient binary serialization format. It lets you > exchange data among multiple languages like JSON but it's faster and > smaller. For example, small integers (like flags or error code) are > encoded into a single byte, and typical short strings only require an > extra byte in addition to the strings themselves. > > If you ever wished to use JSON for convenience (storing an image with > metadata) but could not for technical reasons (encoding, size, > speed...), MessagePack is a perfect replacement. > > http://msgpack.org/ > ------------------------------------------------ > > There's support in lots of languages, though I haven't had time to play. > I suspect a few folks here might still be interested. > > Thanks, -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ What Makes Software Apps High Quality - http://shlom.in/sw-quality There is no IGLU cabal! The former cabalists are trying to prove the correctness of a program that proves the correctness of proofs of other programs. Please reply to list if it's a mailing list post - http://shlom.in/reply .
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



