4 ms·
Notably, `SharedArrayBuffer` was disabled (starting Jan 5 2018) due to Spectre. Nevertheless, it is going to be re-enabled so it is worth reading up on shared
by ihsw2 9y ago
Notably, `SharedArrayBuffer` was disabled (starting Jan 5 2018) due to Spectre.
Nevertheless, it is going to be re-enabled so it is worth reading up on shared memory in JavaScript -- more to the point, Atomics.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
I know a lot of people scoff at the Node/browser runtimes, which is warranted and totally unrelated to the language known as JavaScript, but performance is improving.
- FreezerburnV 9y agoIs it disabled in the version of Chrome shipping with Electron? Considering they’re usually some number of versions behind, and this is a tool to make a desktop app, it would seem to be desirable to have it enabled regardless of Spectre since a desktop app can own your computer anyway if it wants. (It does make sense to have it disabled in a general purpose browser until mitigation’s are in place)