feat: deno on quickjs-ng engine - #35849
Closed
littledivy wants to merge 2 commits into
Closed
Conversation
Applied tools/deno/deno-jsc-integration.patch from v8x @ 3ef6f8a with the v8 features switched to the quickjs backend. No IS_V8X / v8x_snapshot_init_boundary / prepare_stack_trace guard hunks — deno_core runs stock; snapshots come from the backend's C-API replay tape.
- [patch.crates-io] v8 -> ../v82jsc (side-by-side v8x checkout, quickjs backend). - cli default += deno_snapshots/disable + deno_runtime/transpile: quickjs has no startup-snapshot support, so boot via InitMode::New with runtime TS transpile of ext modules. Module bytecode cache handles startup speed (embeddable via V82JSC_BC_BLOB in v8x).
littledivy
force-pushed
the
v8x-quickjs-notape
branch
from
July 7, 2026 19:04
c1af495 to
f55feb2
Compare
4 tasks
Member
|
Closing in favor of #36194 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Runs deno on the QuickJS engine via the v8x v8-ABI backend, instead of V8.
QuickJS has no heap-snapshot serializer, so there is no V8 startup snapshot. deno boots via
InitMode::New(extensions initialized live, runtime TS transpile), and the QuickJS module bytecode cache covers startup cost;it can be baked into the binary via
V82JSC_BC_BLOB(see v8x) so the binary is self-contained.Verified:
deno eval/run, web APIs (TextDecoder/URL/fetch/JSON/async),node:*(fs/path/os/crypto/streams),npm:specifiers, and Next.js 14 dev (SSR + native SWC).Setup
../v82jsc.cargo build --bin denowithdeno_snapshots/disable+deno_runtime/transpiledefault features select the no-snapshot quickjs path.Numbers