top | item 18353597 (no title) abuldauskas | 7 years ago Node 11 now comes with v8 v7.0, does this mean Webassembly threads are supported? Or are they behind a flag? discuss order hn newest lioeters|7 years ago I 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_webassemblyA 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... Operyl|7 years ago ReferenceError: SharedArrayBuffer is not definedI 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.
lioeters|7 years ago I 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_webassemblyA 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...
Operyl|7 years ago ReferenceError: SharedArrayBuffer is not definedI 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.
lioeters|7 years ago
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...
Operyl|7 years ago
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.