Andy Wingo mentioned via twitter that he's working on it: <a href="https://twitter.com/andywingo/status/316644148532891648" rel="nofollow">https://twitter.com/andywingo/status/316644148532891648</a>
In the mean time you can use fibers with Node. I've been using them for StartHQ (<a href="http://starthq.com" rel="nofollow">http://starthq.com</a>) via Common Node (<a href="https://github.com/olegp/common-node" rel="nofollow">https://github.com/olegp/common-node</a>) and to be honest I don't see how I could have made it maintainable with promises, let alone no flow control library at all.
A bit offtopic, but: are all chromium & V8 team members Googlers? just wondering, chromium and V8 are both open source, but I've never head of any major contributors other than Google itself.
I've been really looking forward to this ever since I saw this post[1] on the possibilities that coroutines introduce for async programming.<p>This article in question was already discussed in some depth on HN[2].<p>Can't wait for an era of much more elegant async code!<p>[1] <a href="http://syzygy.st/javascript-coroutines/" rel="nofollow">http://syzygy.st/javascript-coroutines/</a><p>[2] <a href="https://news.ycombinator.com/item?id=4912413" rel="nofollow">https://news.ycombinator.com/item?id=4912413</a>
The es wiki page linked in the bug doesn't say much about array/generator comprehensions, e.g.:<p>[for (x of a) for (y of b) x * y]<p>but those would be really nice as well.<p>A few months ago the ES committee decided to switch them from reading right-to-left (as in spidermonkey comprehensions, python, and haskell) to reading left-to-right (as in C#):<p><a href="https://gist.github.com/dherman/b250d1fad15dbb5f77a5" rel="nofollow">https://gist.github.com/dherman/b250d1fad15dbb5f77a5</a>
I'd love to use this for cooperative multitasking inside one thread (like in Python example using yield). Would be great for simple scripts for ai in games.