lua-users home
lua-l archive

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


On Wed, 14 Jan 2015 14:23:44 +0100
Valerio Schiavoni <valerio.schiavoni@gmail.com> wrote:

> On Wed, Jan 14, 2015 at 1:51 PM, Timm S. Mueller <
> tmueller@schulze-mueller.de> wrote:
> 
> > Hi,
> >
> > before I'm starting to write my own, I'm looking for a serialization
> > and deserialization library. Requirements:
> >
> > - must cover Lua 5.1, 5.2, 5.3 and LuaJIT
> > ...
> > - preferrably written in C for performance, Lua would be fine also
> >
> 
> Is it even possible to have it cover Lua 5.1/2/3 and LuaJIT and being
> written in C ?

Yes, by having checks for LUA_VERSION_NUM in the code.

> In the pure-Lua department, we implemented this:
> https://github.com/splay-project/splay/blob/lua52/src/daemon/modules/splay/benc.lua

> Hope it helps,
> Valerio

Thank you, but it's GPL. This is ruled out.

- Timm

-- 
Timm S. Mueller <tmueller@schulze-mueller.de>
Schulze & Mueller GbR, Jungstr. 2, 10247 Berlin,
Gesellschafter: Franciska Schulze, Timm S. Mueller,
Tel. +49 30 85610000, http://www.schulze-mueller.de/