[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4)
- From: Sean Conner <sean@...>
- Date: Tue, 6 Oct 2015 21:45:55 -0400
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 ... )
- References:
- Re: [ANN] luaproc 1.0-4, Rena
- Re: [ANN] luaproc 1.0-4, Andrew Starks
- The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Sean Conner
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Coda Highland
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Thijs Schreijer
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Coda Highland
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Thijs Schreijer
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Rena
- RE: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Thijs Schreijer
- Re: The hypothetical __serialize metamethod (was Re: [ANN] luaproc 1.0-4), Andrew Starks