Re:V8 developers start working on ES6 generators for JavaScript
by olegp on Thursday March 28, 2013 @10:51AM
(#5455099)
In the mean time you can use fibers with Node. I've been using them for StartHQ (http://starthq.com) via Common Node (https://github.com/olegp/common-node) 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.
[ Parent
| on HN ]
Re:V8 developers start working on ES6 generators for JavaScript
by _alex4nder on Thursday March 28, 2013 @04:52PM
(#5457517)
Agreed. Fibers are a great way to take simple synchronous-looking code and make it play well with the rest of node, without resorting to threads.