Skip to content

doc: Add doc for --experimental-wasm-threads flag since v12

This is a V8 flag that's required to enable WebAssembly threading which is otherwise listed as supported for NodeJS 12+ in compat-data. There's very little documentation available on this flag w.r.t. WebAssembly in Node, just blog posts and such.

I added a note about it to the MDN browser-compat-data table for WebAssembly.Memory with the shared flag: https://github.com/mdn/browser-compat-data/pull/7420

This flag is also still required in Node 14 and 15; verified on my workstation.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading