Back To Schedule
Thursday, November 15 • 1:40pm - 2:00pm
Towards Parallelizing Scala Compilations

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Rsc is an experimental Scala compiler focused on compilation speed. Our research goal is to achieve dramatic compilation speedups for typical Scala codebases.
Recently, we've been experimenting with outlining, i.e. computing type signatures of public and protected definitions in the program. Outlines represent dependencies between different elements of the program, so if we compute outlines, we can compile all files and perhaps even all methods of the program in parallel.
With a few language restrictions, Rsc can compute outlines very quickly. On Twitter Util, a foundational library of the Twitter monorepo, Rsc performs outlining roughly 10x faster than Scalac performs compilation. Having obtained the outlines, we can then partition the sources and launch multiple Scala compiler instances in parallel.
Join our talk to learn how outlining works, how well it performs in practice and what we have planned for the future.

avatar for Eugene Burmako

Eugene Burmako

Language tools lead, Twitter
Language tools lead at Twitter, member of the Scala language committee, founder of Rsc, Scalameta and Scala Macros.

Thursday November 15, 2018 1:40pm - 2:00pm PST