Hacker Newsnew | past | comments | ask | show | jobs | submitlogin



I don't think node.js handles anything related to concurrency... what if you wanted to write a multithreaded raytracer in javascript?


Arguably you can use webworkers (available on V8 and JSC, and thus Narwhal on those platforms) for concurrency problems. Webworkers enforce no shared state though, they use a message passing mechanism. Not the greatest solution.

Concurrency is important, but I think most server tasks don't require it. JavaScript doesn't need to be the 100% language to "win" it just needs to be the 80% language.


Here's a javascript raytracer: http://www.slimeland.com/raytrace/

Wouldn't be hard to implement the rendering part as WebWorkers.


HTML5-style Workers are coming to nodejs.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: