[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: BIG request, someone can port luajit ffi module to lua?
- From: Javier Guerra Giraldez <javier@...>
- Date: Mon, 21 Feb 2011 10:41:10 -0500
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