6 ms·
A good start could be "Coroutines in Lua" [1]. It explains well the terminology and makes comparisons between designs in different languages. [1] http://www.in
by lboasso 9y ago
A good start could be "Coroutines in Lua" [1].
It explains well the terminology and makes comparisons between designs in different languages.
[1] http://www.inf.puc-rio.br/~roberto/docs/corosblp.pdf http://www.inf.puc-rio.br/~roberto/docs/corosblp.pdf
- zwieback 9y agoGreat, thanks. That is a good start.
- BeeOnRope 9y agoHow do the terms in that paper map to the stackful/stackless distinction being discussed above? For example neither term appears in the paper at all, except for one mention of "Stackless Python" as a name.
- lboasso 9y agoI should have linked the other paper by Ierusalimschy, "Revisiting Coroutines". wahern linked it in his reply. They are both good reads to better understand coroutines.