Repository navigation
feat: Runtime.compile runs a program compiled once many times - #68
Merged
Merged
Conversation
kommander
force-pushed
the
split/01b-runtime-compile
branch
from
November 24, 2026 12:00
2013ec0 to
d4c9fd7
Compare
kommander
force-pushed
the
split/01-reference-fixes
branch
2 times, most recently
from
November 24, 2026 22:26
a703794 to
a775842
Compare
kommander
force-pushed
the
split/01b-runtime-compile
branch
from
November 24, 2026 22:26
d4c9fd7 to
8f5cb6c
Compare
kommander
force-pushed
the
split/01-reference-fixes
branch
from
November 24, 2026 23:16
a775842 to
ffa8e3e
Compare
kommander
force-pushed
the
split/01b-runtime-compile
branch
from
November 24, 2026 23:20
8f5cb6c to
9efc0d0
Compare
kommander
force-pushed
the
split/01-reference-fixes
branch
from
November 24, 2026 23:24
ffa8e3e to
06614c7
Compare
kommander
force-pushed
the
split/01b-runtime-compile
branch
from
November 24, 2026 23:29
9efc0d0 to
19cea12
Compare
runtime.compile(code) parses and compiles a program once, or gives the diagnostic its run would fail with first; program() and execute() take the Compiled as they take source, on the Promise and Effect APIs. A run of it, and a state saved from one, are the same as from its source.
kommander
force-pushed
the
split/01b-runtime-compile
branch
from
November 24, 2026 23:38
19cea12 to
9622aeb
Compare
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.
runtime.compile(code)compiles a program once;program()/execute()take theCompiledlike source, on the Promise and Effect APIs.Why: hosts that run the same program many times skip the parse and compile. 2/9 of the TS split of
rust.