4 ms·
Which is to say, Lua's coroutines are isomorphic to single-shot continuations* - you can implement either in terms of the other. * Full continuations, with cop
by silentbicycle 15y ago
Which is to say, Lua's coroutines are isomorphic to single-shot continuations* - you can implement either in terms of the other.
* Full continuations, with copying.
Great paper: "Revisiting Coroutines" (ftp://ftp.inf.puc-rio.br/pub/docs/techreports/04_15_moura.pdf)