lua-users home
lua-l archive

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

On 21 January 2011 08:57, Enrico Tassi <> wrote:
> On Thu, Jan 20, 2011 at 10:23:30PM +0100, Mike Pall wrote:
>> I hope the docs clear up many of your questions.
> Hope you don't mind if I raise a (new?) one, not related to the docs,
> but that came up reading:
>  The FFI library is tightly integrated into LuaJIT (it's not available
>  as a separate module).
> Is it impossible, doable, planned or a completely crazy idea... to have
> that very nice feature working with plain Lua? I mean, generating C
> glue, instead of asm glue?
> Cheers
> --
> Enrico Tassi

Mike has previously said that it is not within a reasonable amount of
effort to port it to plain lua.
Otherwise, I would propose wrappers around the tinycc or alien
libraries to provide API compatible code.... Something I wish I had
the time to get around to doing.