rune-compile 0.1.0

rune compile back-end — background compilation and tier management
Documentation
  • Coverage
  • 73.08%
    19 out of 26 items documented0 out of 18 items with examples
  • Size
  • Source code size: 13.38 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 420.42 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • mastercyb

rune compile back-end — background compilation and transparent hot-swap.

Architecture:

  • CompileQueue: background thread pool for compilation jobs
  • ArtifactCache: source-hash → compiled artifact mapping
  • TierRouter: per-call-site tier (interpret | compile | compiled)
  • hot-swap: when compile finishes, next call uses compiled path

The interpreter is always the fallback. Compilation is opportunistic. Instant start is always preserved — compilation never blocks execution.