Skip to content

Enable the wasm interpreter, drumbrake in v8 #61166

Description

@yanjiew1

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, since undici depends on WebAssembly (see: nodejs/undici#4708).

What alternatives have you considered?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues requesting new Node.js features.staleIssues and PRs marked stale due to inactivity and scheduled for automatic closure.wasmIssues and PRs related to WebAssembly.

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions