News for hackers. Stuff that matters.
Re:Ask HN: Event loop vs. Threads by pyrotechnick on Monday May 28, 2012 @12:01PM (#4033895)
WebWorkers are testament to the lack of mutual exclusivity between event loops and threads.

http://en.wikipedia.org/wiki/Web_worker

https://developer.mozilla.org/En/Using_web_workers

Once you start doing any heavy lifting or large amounts of parallelizable tasks you will find yourself drifting towards the threading model from within your event loop.

Re:Ask HN: Event loop vs. Threads by bascule on Monday May 28, 2012 @12:09PM (#4033932)
Unfortunately Node's implementation of web workers uses external processes and serializes all the data as JSON. This makes them considerably slower than Chrome's implementation of web workers, which use threads.

In general if you're doing something compute-bound, Node's single threaded event loop isn't going to help you.

Depending on your performance requirements you might take a look at LMAX and Disruptor. At the very least you could be writing Java instead of C++