4 ms·
> ... and scalac is as slow as a C++ compiler Scalac is as fast as Javac if you don't overuse Scala-specific features which are known to compile slowly - impli
by pkolaczk 6y ago
> ... and scalac is as slow as a C++ compiler
Scalac is as fast as Javac if you don't overuse Scala-specific features which are known to compile slowly - implicits and macros. But it is unfair to use these features and than complain on compile speed or compare it to a language that doesn't offer similar feature set.
Also, in our Java/Scala project it turned out that Scala+Bloop was way faster (10x-100x) at incremental compilation than Java+Gradle. Bloop is based on SBT libraries so there are some things that SBT does right.
- jvican 6y agoThanks for the compliment. But, as the author of Bloop, I must say that Bloop is definitely not based on sbt and it departs a lot from the design decisions sbt made.