4 ms·
Node 11 now comes with v8 v7.0, does this mean Webassembly threads are supported? Or are they behind a flag?
by abuldauskas 8y ago
Node 11 now comes with v8 v7.0, does this mean Webassembly threads are supported? Or are they behind a flag?
- lioeters 8y agoI was curious about this also, but couldn't find an answer. The most relevant thing I learned was that WebAssembly is exposed as a global object since Node.js 8.0.0, without a runtime flag. https://nodejs.org/api/globals.html#globals_webassembly https://nodejs.org/api/globals.html#globals_webassembly A list of WebAssembly features implemented by Node.js can be found here (the right most column): https://developer.mozilla.org/en-US/docs/WebAssembly#Browser_compatibility https://developer.mozilla.org/en-US/docs/WebAssembly#Browser...
- Operyl 8y agoReferenceError: SharedArrayBuffer is not defined I couldn't get a basic example working because `SharedArrayBuffer` isn't available in node. I wouldn't be surprised if the other bits aren't either.