[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1-5.3 serialization library
- From: Richard Hundt <richardhundt@...>
- Date: Thu, 15 Jan 2015 00:34:29 +0100
>
> After a lot of hassle I settled on Lua Marshal which might be a starting
> point.
>
> Plain C.
> MIT
> No table size limit unlike almost all Lua high level based.
> No funny code I've found: many of the mentioned solutions I found didn't
> actually work.
>
> 5.3? No idea.
> Portable? No, is marked as such, why is unclear. If this is binary endian
> you have the source, fix it. Lua version, not so simple.
>
To clarify the non-portability: you can't move between endianness
because the bytes of numbers and integers are written directly to the
buffer via a `memcpy` with no effort made to encode it portably.
--
People who think they know everything are a great annoyance to those
of us who do.