lua-users home
lua-l archive

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


On Mon, Feb 21, 2011 at 10:18 AM, zhiguo zhao <zhaozg@gmail.com> wrote:
> I hope my lua code can be run both luajit and lua. But ffi is
> most attraction feature, can who do some work to port luajit ffi to lua as a
> extend module.

far easier is to write two versions of your code: one with JIT+FFI,
one as a traditional Lua/C binding.

see recent ZeroMQ success story:

http://comments.gmane.org/gmane.comp.lang.lua.general/75704


-- 
Javier