On 9 June 2011 09:40, Stéphane Ducasse <[email protected]> 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.

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to