docs: document deno compile --engine quickjs - #3439
Merged
Merged
Conversation
…engine # Conflicts: # runtime/reference/cli/compile.md
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.
Deno now ships an experimental QuickJS backend, and
deno compile/deno desktopgrew an--engine v8|quickjsflag to pick which runtime theproduced binary embeds (denoland/deno#36194). Nothing described it in the
docs, and the trade-offs matter before anyone ships a QuickJS binary: it
produces a smaller executable, but it is an interpreter with no JIT and does
not receive the same security updates as V8. The compile reference gets a
section covering the flag, those trade-offs, and the separate
denort-quickjs-<target>artifact it downloads; the CLI apps and desktopdistribution guides just link to it.
While in the compile reference, the supported targets table was missing
aarch64-pc-windows-msvc, which has been supported since Deno 2.9.3(denoland/deno#36004).