Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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)



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: