lua-users home
lua-l archive

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


On Thu, Apr 14, 2011 at 14:10, Francesco Abbate <francesco.bbt@gmail.com> wrote:
> Yep! As far as I understood this is actually the case, LuaJIT is able
> to optimize FFI calls to the equivalent of compiled C code. For the
> other side Mike exmplained that calling a Lua C function from Lua will
> always have an important overhead that LuaJIT cannot eliminate. This
> is why he was suggesting to use LuaJIT plus FFI calls instead of
> writing Lua C functions.

This may have been asked earlier, but wouldn't it be useful to
translate (at least some of) the standard library into LuaJIT+FFI?

-- Pierre-Yves