3 ms·
> Look at how game developers have demanded shared memory in JavaScript Have a source for that? I find it pretty dubious. If you're looking to multicore for p
by vvanders 11y ago
> Look at how game developers have demanded shared memory in JavaScript
Have a source for that? I find it pretty dubious.
If you're looking to multicore for performance with javascript then you're using the wrong language. Correct memory layout and access patterns will give you a real-world 50-100x win.
- pcwalton 11y agoSource: I work directly with people who interact with game developers who are asking for it. Look for asm.js threads on HN: virtually every time it shows up someone brings up shared memory multithreading. SharedArrayBuffer is the direct result of this popular demand: https://blog.mozilla.org/javascript/2015/02/26/the-path-to-parallel-javascript/ https://blog.mozilla.org/javascript/2015/02/26/the-path-to-p...