Re:"Optimizations should be added to V8" for the asm.js subs...
by niggler on Thursday March 28, 2013 @09:26AM
(#5454611)
"That isn't quite true anymore either, because of Web Workers and ParallelArray."
Quote from yesterday's discussion:
https://news.ycombinator.com/item?id=5451658
"WebWorkers are not really a multithread model. Game engines could be written to leverage message passing based isolates, but in some cases, but doing it in an optimal form isn't exactly developer friendly, it's one of pains of developing the PS3 SPEs is that they didn't share system memory and you had to DMA stuff around."
Re:"Optimizations should be added to V8" for the asm.js subs...
by pcwalton on Thursday March 28, 2013 @12:00PM
(#5455603)
ParallelArray allows data to be shared without copies.
Re:"Optimizations should be added to V8" for the asm.js subs...
by duaneb on Thursday March 28, 2013 @12:32PM
(#5455846)
Isn't that browsers only? And not really suited (or horribly suited) for realtime work like video games.
Re:"Optimizations should be added to V8" for the asm.js subs...
by audreyt on Saturday March 30, 2013 @06:39AM
(#5465006)
WebWorker with native threads is available on Node.js: https://github.com/audreyt/node-webworker-threads
For an alternate model of parallel computing, WebCL (OpenCL) has been ported to Node.js as well: https://github.com/fifield/node-webcl
That isn't quite true anymore either, because of Web Workers and ParallelArray.
https://bugzilla.mozilla.org/showdependencytree.cgi?id=80186...
https://github.com/RiverTrail/RiverTrail/wiki/ParallelArray