[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: LuaJIT 2 ffi (casting / force hotpath)
- From: Quae Quack <quae@...>
- Date: Fri, 21 Jan 2011 09:25:23 +1100
On 21 January 2011 08:57, Enrico Tassi <email@example.com> 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?
> 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.