[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: BIG request, someone can port luajit ffi module to lua?
- From: Axel Kittenberger <axkibe@...>
- Date: Mon, 21 Feb 2011 16:46:46 +0100
I think the most realistic general purpose solution would be some
meta-syntax that produces .ffi definitions for jit and automatic
gluecode generation for common lua. But as with many things, for one
project its indeed simpler to do it just 2 times, the utility of such
thing would only come if done once to be used often.
On Mon, Feb 21, 2011 at 4:41 PM, Javier Guerra Giraldez
> On Mon, Feb 21, 2011 at 10:18 AM, zhiguo zhao <email@example.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: