Re:CommonJS effort sets JavaScript on path for world domination
by catch23 on Tuesday December 01, 2009 @01:01PM
(#970229)
I don't think node.js handles anything related to concurrency... what if you wanted to write a multithreaded raytracer in javascript?
[ Parent
| on HN ]
Re:CommonJS effort sets JavaScript on path for world domination
by boucher on Tuesday December 01, 2009 @02:06PM
(#970403)
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.
Re:CommonJS effort sets JavaScript on path for world domination
by nl on Wednesday December 02, 2009 @01:23AM
(#971632)
Here's a javascript raytracer: http://www.slimeland.com/raytrace/
Wouldn't be hard to implement the rendering part as WebWorkers.