Fast startup & low latency: pick two
summary
Scala is compiled ahead-of-time to native code using LLVM as the backend, enabling no-JVM binaries and much smaller resident heaps. Early conservative GC (Boehm) hits up to 5x slowdown vs no GC; a precise mark‑and‑sweep prototype cuts average overhead from ~100% to ~25%. A new IMIX mostly‑moving collector (opt-in in 0.3) brings typical overhead to ~10% and worst ~50%. Project stats: ~55 external contributors, ~7,383 PRs closed, and added SBT testing, java IO/zip support and substantially smaller binaries.
AI-written summary · about
chapters (13)
- 0:00Introduction
- 0:18Scala Native
- 1:30Overview
- 3:19Upcoming release
- 3:53Current garbage collector
- 5:48How slow is it
- 6:35Baseline
- 9:28GC
- 16:26Conservative roots
- 19:38Benchmarks
- 23:24Core idea
- 27:49Closing ticket
- 28:24New features








