News for hackers. Stuff that matters.
Re:MessagePack: Fast and Compact Serialization by Ralith on Monday August 15, 2011 @09:01AM (#2886648)
This sounds an awful lot like yet another ProtocolBuffers. What, if anything, new does it bring to the table?
Re:MessagePack: Fast and Compact Serialization by ericmoritz on Monday August 15, 2011 @10:15AM (#2886965)
This is schemaless. Protobufs require a .proto file that describes the data being serialized. A .proto file serves a similar purpose as the `struct` keyword in C.

MessagePack uses type prefixes to describe the data. For instance an unsigned 8-bit int starts with a `0xcc` followed by a byte.

Re:MessagePack: Fast and Compact Serialization by frsyuki on Monday August 15, 2011 @11:47AM (#2887353)
Compatibility with JSON is a characteristic of MessagePack. If you're already using JSON, you can use MessagePack as a faster/smaller substitution of JSON.

Since Protocol Buffers brings their original semantics, you must change lots of codes.

Re:MessagePack: Fast and Compact Serialization by frsyuki on Monday August 15, 2011 @11:32AM (#2887284)
Schemaless (dynamic typing) is the most obvious difference.

I wrote about the pros/cons of schema here: http://news.ycombinator.com/item?id=2836242