lua-users home
lua-l archive

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


On Sun, Aug 3, 2008 at 7:48 PM, Vincent Penne <ziggy@sashipa.com> wrote:
> I'm pleased to announce the first release of luaffi.
>
> Luaffi is a libffi binding to lua. It allows to call C functions from lua
> dynamically, and to generate lua closures as C function pointers.
>
> The project page on luaforge is located here :
> http://luaforge.net/projects/luaffi/

I hate to ask a question I could answer myself, but I'm going to do it
anyway - have you benchmarked luaffi vs compiled lua bindings at all?
Clearly for some sorts of library most of the work will be being done
on the C code, so the cost of the function call is negligible but for
other applications (maybe a datastructure implementation?) the cost of
the call would be more important.

Regards,

Alex