Super Volatile

Krzysztof Szafranek's link blog

Hi, I'm Krzysztof and I make websites.
When I'm not making websites, I read these.
Jun 15, 2011 / 10:15pm

Node.js is backwards

On the other hand, Node.js is a hack on top of Javascript/V8 to replicate these features. It requires explicit continuation-passing-style (chains of callbacks) since the language itself doesn’t support event-driven I/O. The code blocks until you return from the current function and pass a callback (continuation) to the global event loop. When your blocking I/O is complete and the event-loop is surrendered to, it will call the callback you provided, continuing the execution of your “task.” The result is isomorphic to user-space threads where the scheduling is done by the programmed code rather than a backing runtime scheduler. The lack of language support also necessitates that the programmer manually run one process per core and figure out a way to make “Nodes” communicate.

How parallel programming with node.js is different from Erlang.

Filed under: erlang   node.js   programming  
Feb 3, 2011 / 10:34pm

Node.js Interview: 4 Questions with Creator Ryan Dahl

In February the second stable release, v0.4, will be made. This includes improved memory usage and a new SSL/TLS system, a built-in debugger, faster timers, many wart removals, and the new version of V8. Hopefully in the next 6 months we’ll release a 1.0 version of Node. The idea is to constrain what goes into “core” and not allow it to grow too big – so there will not be endless stream of feature additions. 1.0 will look pretty much like Node does now. There are a lot of bugs to fix still.

For node.js fanboys. Yours truly is just becoming one.

Filed under: javascript   node.js   programming