lua-users home
lua-l archive

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


* 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.