lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Andrew Starks once stated:
> On Tue, Oct 6, 2015 at 5:10 PM, Thijs Schreijer <thijs@thijsschreijer.nl> wrote:
> >
> > Can of worms... because all other possible formats "would be nice too" as well.
> 
> Perhaps a format is needed. Some sort of unholy amalgamation of an
> extension of msgpack and lua's pack/unpack (I think msgpack is little
> endian and lua's format is flexible)? Like LOM is to JSON. That has
> nothing to do with __serialize, but maybe a format specification is
> what is needed to help complete Lua's multi-threaded toolbox.

  I recommend CBOR.  It's documented (RFC-7049), architectural independent
and extensible (for instance, there are documented extentions for circular
references), easy to encode/decode, and relatively compact.

  -spc (But I'll admit, I'm a bit biased ... )