lua-users home
lua-l archive

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


> It's only expensive to use the Lua C API when working with LuaJIT, and then
> only relatively - there the strategy is to use the compiled FFI interface.

Do you have any numbers/stories you can share about how the FFI
performance compares? (I've dealt with libffi myself in LuaCocoa but
haven't benchmarked it. Marshaling parameters to and from ffi data
structures was quite tedious to write but I never benchmarked how that
translated to speed in practice.)

Thanks,
Eric
-- 
Beginning iPhone Games Development
http://playcontrol.net/iphonegamebook/