We never compile our Scala code by invoking the Scala compiler directly. There is usually some other tool between us and the Scala compiler, and therefore compilation time is very often inflated by the specific tool at hand. In the Scala ecosystem, the tool we use to compile and build our projects is generally sbt. Understanding which inefficiencies are inherent to sbt and which depend on setup is key to minimize build times. In this first instalment we lay the foundation to understand how you can optimize your build.
Yoco’s mission is to enable small businesses accept credit card payments in South Africa. The Yoco platform plays a decisive role in keeping them ahead of the competition, but the growing compile time was disrupting developer productivity and negatively impacting application correctness. Hydra has instantly solved both problems and brought back the joy of coding in Scala.
We had the pleasure to sit down with Miles Sabin, Typelevel co-founder and shapeless creator, for a short conversation ahead of the 10 year anniversary of ScalaDays.
Announcing: Give 25%, Get 25%, Compile Scala 75% faster!