lua-users home
lua-l archive

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


Javier Guerra Giraldez <javier@guerrag.com> writes:
>> 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.

Writing two version of one's bindings is really annoying though,
especially for large interfaces.

If FFI could be used as a parser to automagically produce traditional
lua interface routines _and_ JIT interfaces, that would be an insane
win...

-Miles

-- 
Congratulation, n. The civility of envy.