Holy crap Swift's async/await proposal using delimited continuation-style control flow:https://gist.github.com/lattner/429b9070918248274f25b714dcfc7619#entering-and-leaving-async-code …
"Coroutines aren't going to happen in JS. They'd break one of the best features of JS: the simplicity of the event loop execution model"
-
-
I don't agree that it's the best model for everything. It's a good model for certain types of code, limiting in others
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Generators on the other hand "give you just enough power to write non-blocking I/O in a synchronous style without being “threads lite.”"
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.