lua-users home
lua-l archive

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



On Thu, Jan 30, 2014 at 1:15 PM, Milind Gupta <milind.gupta@gmail.com> wrote:
So a couple of steps are executed for a script and then for the next. This method then should be totally in Lua and work wherever Lua does. What are the disadvantages? Would there be a serious hit on performance?
         What other possible ways could be there to do this?

You're off into a weird and wild world of combining a debug library (typically slow) with multi-threading. That sounds awesome. :)

llthreads[1] was listed amongst many others, but in case its usefulness was lost in the noise, I'll vouch for its usefulness. It works in a cross-platform-y way, although I'm not so sure about android. It's also lightweight and is a perfect match with nanomsg / luasockets / zmq / etc.

Depending on how crazy you want to get, this might be the simplest approach, but I can't offer meaningful advice on using the debug library.

-Andrew


[1]: https://github.com/Neopallium/lua-llthreads