Re: LuaJIT 2 ffi (casting / force hotpath)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: LuaJIT 2 ffi (casting / force hotpath)
- From: CrazyButcher <crazybutcher@...>
- Date: 2011年1月22日 22:05:51 +0100
2011年1月22日 Mike Pall <mikelu-1101@mike.de>:
> Right now the call chain 'FFI -> C -> lua_*()' with the same
> lua_State is a big no-no.
so for this use-case old-styled lua bindings would still be the way to go?
lua -> classic lua binding- > C -> lua function
as evoking a classic lua bound function enforces the interpreter to
set up the proper environment?