lua-users home
lua-l archive

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


sorry for delay, I tried luajit2.0.0 beta4
(lua 5.2, spec change seems to be big, so have not try yet)

It seems work fine :)

but one problem, luajit 2.0.0 does not support lua_dump.
(I guess the reason is after JIT compiled, original lua byte code discarded)

because I want to enable the RPC which argument contains function object,
lua_dump is necessary to provide such a feature.
it there any plan to support lua_dump on luajit?

regards,

2010/4/20 takehiro iyatomi <iyatomi@gmail.com>
thank you :D
I will try it.

2010/4/20 Mike Pall <mikelu-1004@mike.de>

takehiro iyatomi wrote:
> 2010/4/19 Mike Pall <mikelu-1004@mike.de>
> because my framework needs to yield lua execution inside metamethod to
> provide similar feature like lua-RPC(http://q12.org/lua/index.html) but more
> asynchronous. if there is way to yield inside metamethod and less memory
> overhead,  I should use it. but currently (as long as my investigation) I
> need to rely on lua+coco patch.

Both LuaJIT and Lua 5.2 allow you to yield from a metamethod.
Lua 5.1 doesn't.

--Mike



--
Takehiro Iyatomi(弥富 豪宏)
mail: iyatomi@gmail.com
twitter: http://twitter.com/umegaya




--
Takehiro Iyatomi(弥富 豪宏)
mail: iyatomi@gmail.com
twitter: http://twitter.com/umegaya