Skip to content

isb 3.1.2: the preview builds isb with ra-jit, so a rebuild after an edit takes seconds - #70

Merged
knowsuchagency merged 4 commits into
mainfrom
use-https-github-com-indexable-inc-ra-jit-for-development-5nvf
Oct 26, 2026
Merged

knowsuchagency merged 4 commits into
mainfrom
use-https-github-com-indexable-inc-ra-jit-for-development-5nvf

Conversation

@knowsuchagency

Copy link
Copy Markdown
Contributor

The preview (mise run preview) builds isb with ra-jit, so mise run preview:rebuild after an edit takes seconds instead of tens of seconds.

  • scripts/preview/build.sh pins Rust 1.99.0 (ra-jit's only toolchain), installs ra-jit 0.1.0 (a few minutes, once per VM) and builds with cargo ra-jit build.
  • isb.yaml gives the preview VM 24 GB instead of 16, since ra-jit's daemon holds about 9–10 GB.

Measured in the preview VM (8 cores), edit then rebuild:

Edit cargo ra-jit
main in the isb binary 18.3s 3.1–4.6s
a function in isb-core 32.7s 10.9s

An edit made on the host reached the VM's read-only mount and landed in the rebuilt binary. On a 16-core container the same edits took ~0.5s.

CI, scripts/check.sh and releases stay plain cargo with isb's own MSRV. ra-jit 0.1.0 has no borrow checker, so those remain the final word, as build.sh says.

https://claude.ai/code/session_01DXcK7WYx1aCTzrebDJywPt

… of seconds

The preview pins Rust 1.99.0 (ra-jit's only toolchain), installs ra-jit
0.1.0 and builds with cargo ra-jit; its VM gets 24 GB for the ~10 GB
daemon. CI, scripts/check.sh and releases stay plain cargo, which keeps
the borrow checker ra-jit 0.1.0 lacks as the final word.

Claude-Session: https://claude.ai/code/session_01DXcK7WYx1aCTzrebDJywPt
@knowsuchagency
knowsuchagency merged commit 2032c0d into main Oct 26, 2026
20 checks passed
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