Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Compiling Like a Boss

Scala Days Conferences via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore strategies for optimizing Scala compilation times in this 43-minute conference talk from Scala Days Copenhagen 2017. Delve into the challenges of long and unpredictable compile times in Scala projects, and discover practical solutions to improve performance. Learn about compiler options, analysis techniques, and established patterns to minimize compilation times. Investigate the impact of language features, external libraries, and type annotations on build duration. Gain insights into implicit resolution, macro usage, and the potential of distributed compilation. Examine the benefits of Triplequote Hydra, a tool designed to utilize multiple cores for faster Scala compilation. Understand Amdahl's law and its implications for parallel processing. Compare cold and warm compilation times, and explore how Hydra performs with complex libraries like Shapeless. Acquire valuable knowledge to optimize your Scala development workflow and reduce compilation bottlenecks.

Syllabus

Intro
Scala releases & compilation speed
Scala compiler options
Analyse
Investigate!
Implicit resolution: Example
Take away
Macro bittersweet
Distribute Scala compiler
Amdahl's law -- without infinite cores?
Hydra Today
How well does it work?
How about shapeless tests?
Cold & Warm times
Triplequote Hydra Compiler
Insights
Hydrate Build
Giving back to the community

Taught by

Scala Days Conferences

Reviews

Start your review of Compiling Like a Boss

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.