On Jun 9, 2011, at 7:01 PM, Lukas Renggli wrote:
On 9 June 2011 09:40, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
do you know what is the encoding scheme under message pack?
It is very simple (like JSON and serializes only booleans, integers, floats, strings, arrays and dictionaries) and is described here:
- design: http://wiki.msgpack.org/display/MSGPACK/Design+of+Serialization - format: http://wiki.msgpack.org/display/MSGPACK/Format+specification.
Huffman like?
Kind of, but static. Common objects are serialized with very few bits.
It would be a nice student projects to get one version for Smalltalk
I posted the links in my previous mail, there is already an implementation on SqueakSource (http://www.squeaksource.com/MessagePack). Also there is a high-level implementation that can serialize any Smalltalk object (http://www.squeaksource.com/STOMP). It seems to handle class changes too.
Ok I missed that.
Lukas
-- Lukas Renggli www.lukas-renggli.ch