[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [ANN] luaffi
- From: "A.S. Bradbury" <asb@...>
- Date: Mon, 4 Aug 2008 19:09:05 +0100
On Sun, Aug 3, 2008 at 7:48 PM, Vincent Penne <firstname.lastname@example.org> 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 :
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.