There is nothing completely new in this approach o...
# coroutines
e
There is nothing completely new in this approach of coroutines, since all the building blocks exist here and there. You can actually notice that this approach to the “new” problem of asynchronous programming is actually the same as an approach to 30-years old problem of “multiple prompts” which is known under the name of “delimited continuations” or composable continuations. It is an interesting historical fact that solutions to this problem were designed when programmers faced a need to handle multiple interactive sessions from a single cooperatively-scheduled thread. This problem is completely isomorphic to the “modern” problem of asynchronous communication. So, as they say, everything was invented before us, yet implementation is quite different, of course.