[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Trace compilation from embedded LuaJIT
- From: Florian Weimer <fw@...>
- Date: Sun, 14 Aug 2011 22:20:33 +0200
* Douglas Creager:
> Any other things I can try?
You could use a coroutine or thread on the C side which performs a
rendezvous with the Lua code. The Lua code could dequeue requests
enqueue results using FFI calls which would not result in trace
aborts.
This may or may not be a win in the end, depending on what you do.
The LuaJIT interpreter is pretty fast, too.