-
-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Enable the wasm interpreter, drumbrake in v8 #61166
Copy link
Copy link
Closed as not planned
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.wasmIssues and PRs related to WebAssembly.Issues and PRs related to WebAssembly.
Description
Activity
Metadata
Metadata
Assignees
Labels
feature requestIssues requesting new Node.js features.Issues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.Issues and PRs marked stale due to inactivity and scheduled for automatic closure.wasmIssues and PRs related to WebAssembly.Issues and PRs related to WebAssembly.
Type
Projects
- StatusShow more project fieldsAwaiting Triage
What is the problem this feature will solve?
Currently, when Node.js is run with JIT disabled, WebAssembly is unavailable.
What is the feature you are proposing to solve the problem?
I propose enabling the WebAssembly interpreter, Drumbrake, when building V8. When Node is run with JIT disabled, Drumbrake could be used to execute WebAssembly modules.
Supporting WebAssembly in jitless mode would be beneficial because it would allow the built-in fetch() to work when Node is running with
--jitless, sinceundicidepends on WebAssembly (see: nodejs/undici#4708).What alternatives have you considered?
No response