Re:Node.js - A Giant Step Backwards
by yummyfajitas on Friday August 05, 2011 @01:14AM
(#2849025)
Just curious, is there a good futures library for Node? If so, you could write code of the form:
This looks reasonably similar to typical synchronous code,
but it allows db queries to happen simultaneously and doesn't break the node paradigm.
[ Parent
| on HN ]
It never became production ready, but I found this article an interesting discussion of the problem and a solution to it in Coffeescript:
http://gfxmonk.net/2010/07/04/defer-taming-asynchronous-java...