News for hackers. Stuff that matters.
Re:The Future of JavaScript by wslh on Friday February 10, 2012 @03:30PM (#3577345)
Futures like in node-fibers? https://github.com/laverdet/node-fibers I think it is the proper way to complement generators and give the alternative to wait for a function value.
Re:The Future of JavaScript by zoips on Friday February 10, 2012 @07:09PM (#3578078)
I don't think there's a reason to bake futures/promises into the language. Once you've got coroutines (generators here), people can build the abstractions around them that they like.