Hacker News new | ask | show | jobs
by haberman 4593 days ago
So shared memory is a terrible idea and C/C++ programmer "fetish", until JS has it and then then you "actually really like it"?
2 comments

Fair criticism. But the idea of a shared typed array is appealing, just for the simplicity. If you must have shared memory in JS, this is not a bad way to do it.
JS has web workers, not shared memory between threads.
Yes, but grandparent was reflecting on a proposal to add shared memory to web workers in the form of shared typed arrays.