Re: FFI in interpreter mode

  • From: James McKaskill <james@xxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Tue, 22 May 2012 10:56:01 -0400

On Tue, May 22, 2012 at 8:42 AM, Pierre-Yves Gérardy <pygy79@xxxxxxxxx> wrote:
> Does LuaFFI (https://github.com/jmckaskill/luaffi) works with LuaJIT2?
>
> If yes, how does it fare, speedwise, in interpreter mode?

It should in theory. I haven't really tested it, but its only using
the public lua API. You will have to load it under a different name
though. However I would be surprised if it out performed the built in
FFI in interpreter mode.

-- James

Other related posts: