lua-users home
lua-l archive

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


@Ben
>>Persisting JIT code is a bag of worms that I'm not
really >>qualified to open.

All tests pass except for Thread resume and Open
upvalues. I haven't tried much other than pptest.lua.
You can remove my bug at luaforge, it's not Pluto.

@Mike
>>only save/restore data structures (and not
coroutines) then the >>combination of LuaJIT and Pluto
would probably work

It seems unfeasible given the nature of LuaJIT, but
the two seem to work. I can use it as-is for my
purposes but it would be fun to resume coroutines.

>>this is more a problem with Coco than with LuaJIT. 

True the issue is in Coco, not LuaJIT or Pluto. I
don't know if it can unpersist yet. For me any
coroutine.resume() blows up.

Can you confirm this to crash an unmodified
LuaJIT-1.0.3?
[code]
co = coroutine.create(function(x) print(x..', plz')
end ) 
coroutine.resume( co, 1 ) 
[/code]

Thanks again,
Joe


		
__________________________________________ 
Yahoo! DSL ? Something to write home about. 
Just $16.99/mo. or less. 
dsl.yahoo.com