Was the section on how to use coroutines kinda lacking? I can read the Lua manual too.
I admit I have generally ignored coroutines. An example of them solving a problem would have been way more useful. I know the lua socket library has some pipe filter coroutine thing in it, but it never seemed easier to use than just doing things the obvious way.
Small point/question for the python people. “Multiple Lua VMs can be run in one process without any GIL problems, though, so parallelism via message-passing is still an option.” Is this not true of ruby or python as well? I guess people embed python less frequently and use the interpreter more?
Was the section on how to use coroutines kinda lacking? I can read the Lua manual too.
I admit I have generally ignored coroutines. An example of them solving a problem would have been way more useful. I know the lua socket library has some pipe filter coroutine thing in it, but it never seemed easier to use than just doing things the obvious way.
Small point/question for the python people. “Multiple Lua VMs can be run in one process without any GIL problems, though, so parallelism via message-passing is still an option.” Is this not true of ruby or python as well? I guess people embed python less frequently and use the interpreter more?