Skip to content

Integrate NightMonkey. - #323

Open
cfallin wants to merge 1 commit into
mainfrom
cfallin/nightmonkey-integration
Open

Integrate NightMonkey.#323
cfallin wants to merge 1 commit into
mainfrom
cfallin/nightmonkey-integration

Conversation

@cfallin

@cfallin cfallin commented Sep 4, 2026

Copy link
Copy Markdown
Member

This integrates the work from bytecodealliance/firefox#2; see that PR for the full description.

The main interesting/relevant integration bit is that because NightMonkey puts the compiler logic in a native binary (that runs outside the Wasm snapshot, and processes it), somewhat analogous to the weval tool, we need to build those binaries too. Unlike weval, there is not a clean and version-drift-tolerant interface between the engine and the external processing tool; rather, the compiler needs to be built from exactly the same tree as the in-Wasm-module runtime. So this repo builds those binaries now and will ship them as release artifacts alongside the Wasm runtime modules.

WPT and E2E tests pass locally with the NightMonkey mode enabled.

This will require the above-linked PR to merge first, then I'll retarget the commit hash here to point to the merged commit. After this merges, I'll integrate in ComponentizeJS.

This integrates the work from bytecodealliance/firefox#2; see that PR
for the full description.

The main interesting/relevant integration bit is that because
NightMonkey puts the compiler logic in a native binary (that runs
outside the Wasm snapshot, and processes it), somewhat analogous to the
`weval` tool, we need to build those binaries too. Unlike `weval`, there
is not a clean and version-drift-tolerant interface between the engine
and the external processing tool; rather, the compiler needs to be built
from exactly the same tree as the in-Wasm-module runtime. So this repo
builds those binaries now and will ship them as release artifacts
alongside the Wasm runtime modules.

WPT and E2E tests pass locally with the NightMonkey mode enabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant