Christian Tismer wrote:
My approach would be to first find out how async operations should be modelled the best under the assumption that we have a coroutine concept that works without headaches about yielding in and out from something to whatnot.
I think we already know that. People like Dijkstra and Hoare figured it all out decades ago. That's what my generator-oriented approach is based on -- using standard techniques for managing concurrency.
After that is settled and gets consensus, then I would think about bearable patterns to implement that using generators. And when we know what we really need, maybe considering more suitable Syntax.
Given that we don't want to use OS threads or greenlets, but we're happy to use generators, all that's left is to find bearable patterns for doing so. -- Greg