Coroutines use case

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Coroutines use case

luany
Were coroutines removed with a view that more a complex use case should make use of a different language?
Reply | Threaded
Open this post in threaded view
|

Re: Coroutines use case

fschmidt
Administrator
I just skimmed the coroutines chapter in the Lua book.  I don't see anything very useful about coroutines.  I don't see anything that couldn't be done just as well with closures.  Can you give me a good use case that I can't do with closures?