News for hackers. Stuff that matters.
Re:"Optimizations should be added to V8" for the asm.js subs... by Ygg2 on Thursday March 28, 2013 @05:47AM (#5453976)
Wait, what are Web-workers then?
Re:"Optimizations should be added to V8" for the asm.js subs... by cwmma on Thursday March 28, 2013 @05:56AM (#5453999)
for opening up a new separate thread, that you can only communicate through message passing. It's not part of the core language but the browser library hence why you can't use them in Node.
Re:"Optimizations should be added to V8" for the asm.js subs... by rictic on Thursday March 28, 2013 @01:44PM (#5456413)
They're also more directly comparable to processes than threads, as they do not share memory (though there are a couple of proposals to allow them to).
Re:"Optimizations should be added to V8" for the asm.js subs... by duaneb on Thursday March 28, 2013 @10:26PM (#5458924)
Apparently ParallelArray allows shared memory.
Re:"Optimizations should be added to V8" for the asm.js subs... by cwmma on Friday March 29, 2013 @05:54AM (#5459931)
yeah but that's not approved yet and from what I can tell ParallelArray is higher level then Workers and doesn't really expose that sort of thing.