Re: Timers, Callbacks & Swig
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Timers, Callbacks & Swig
- From: Tim Mensch <tim-lua-l@...>
- Date: 2011年2月22日 22:17:07 -0700
On 2/22/2011 1:29 PM, Steve Litt wrote:
> Amazing! 4 days ago I thought the only interface was luaL_newstate(),
> luaL_openlibs(), luaL_loadfile(), lua_pcall() etc. Now I find out about SWIG
> and LuaJit FFI!
There are a lot more binding options than that. See [1], and for a
review of a few of the more mature ones, including related drawbacks
that I encountered, see [2].
The TL;DR is that I didn't like any of the binding options in the end --
especially SWIG. By far the most robust and complete was LuaBind; none
of the others came close to supporting what I needed. But LuaBind
created too much code (from template bloat).
Tim
[1] http://lua-users.org/wiki/BindingCodeToLua
[2] http://realmensch.org/blog/fun-lua-bindings