Making Scala Faster: Three Expert Tips for Busy Dev Teams [Video and Slides]
Want to learn how to make your Scala app compile faster? Check out this video to learn more about improving compile time and overall Scala development.
Join the DZone community and get the full member experience.Join For Free
How To Make Your Scala Applications Compile Faster
With Scala, JVM developers get a host of benefits over other programming languages. From code conciseness (fewer LOC) and native scalability to support for functional programming paradigms and type safety, Scala is the language of choice for modern enterprises like Amazon, HPE, PayPal, and Walmart.
Yet, Scala also brings something that developers have a hard time accepting: long compile times. We have the most powerful computers ever made at our fingertips, yet we often spend up to an hour or more each day waiting for compilation to finish. It's not uncommon for a project to experience compilation times of 5-10 minutes or more, and a change to even a single line of code can increase compilation times 10x.
In this special guest webinar with Mirco Dotta, co-founder of Triplequote LLC (the creators of Hydra), we take a deeper look into what affects Scala compilation speed, why a combination of language features, external libraries, and type annotations make compilation times generally unpredictable, and what you can do to speed it up by orders of magnitude. We'll go through:
- Understanding some of the most common bottlenecks in Scala builds
- Effective use of type class auto-derivation for cutting compilation times
- What are some average compilation speeds and how to know if you have a productivity blocker.
- BONUS: a 6-7min demo of the Hydra Compiler and Dashboard (after the Q/A)
Watch The Full Presentation, Q/A and Demo
We're here to make your journey with Scala as fun and productive as possible.
Published at DZone with permission of Oliver White, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.