News for hackers. Stuff that matters.
Re:Node.js - A giant step backwards? by bascule on Wednesday January 25, 2012 @02:24PM (#3511254)
There are many ways to compose deferrables, primarily by grouping several of them together into something which is also a deferrable. See the em-scenario gem for examples:

https://github.com/athoune/em-scenario

Note: I still think this approach sucks.

V8 provides a really awesome shared-nothing multithreading scheme via web workers. It's just nobody uses them.

Re:Node.js - A giant step backwards? by peterhunt on Wednesday January 25, 2012 @02:29PM (#3511285)
Oh right that's definitely true and is much more elegant. I was talking about when a function written in synchronous style (in a long stack of synchronous calls) needs to call something asynchronous.