Rsc: Scala Outlining for Distributed Compilation
summary
Rsc produces Scala “outlines” (Scala header files) that let compilation start on dependents earlier, enabling parallel and distributed builds using Rsc or ScalaC’s -Youtline, Pants wiring and remote execution. Twitter rolls outlining into CI and reports 25% speed-up on 16 cores for ~300k Scala LOC and ~16% on 88k LOC; outlines yield ~9x smaller class artifacts and semanticdb outlines 31x smaller. Requires explicit public return types and special handling for macros, validation and tooling integration.
AI-written summary · about
chapters (9)
- 0:00Introduction and motivation
- 2:33What is RSC and outlining
- 4:22The mechanics of outlining
- 7:54Distributed compilation
- 12:11Drawbacks of the approach
- 14:28Scala ecosystem context
- 18:10Production challenges
- 22:59Performance and usability
- 26:42Summary and Q&A
related talks
26mTowards Parallelizing Scala Compilations
48mMassively Parallel Distributed Scala Compilation And You
21mReasonable Scala Compiler
01h 05mScala: The Simple Parts
57mScalan: a reasonably typed meta programming framework in Scala
01h 02mKeynote: Scala's Road Ahead
01h 02mSimply Scala
43mChoose your own Scala Center Roadmap
