2 ms·
The performance difference between Scala compiler and Kotlin compiler is not as huge as advertised by Kotlin promoters: https://stackoverflow.com/questions/346
by pkolaczk 7y ago
The performance difference between Scala compiler and Kotlin compiler is not as huge as advertised by Kotlin promoters:
https://stackoverflow.com/questions/34615947/why-does-kotlin-compile-faster-than-scala https://stackoverflow.com/questions/34615947/why-does-kotlin...
Also worth noting that that answer is quite old and Scala compiler got over 2x faster since that time and now has a much improved incremental compiler, so it may be on par with Kotlin, which added more features since that time and got slower. So both languages seem to be in the same league.
There are many people complaining on Kotlin's performance as well:
https://discuss.kotlinlang.org/t/kotlin-compile-so-slowly/1603 https://discuss.kotlinlang.org/t/kotlin-compile-so-slowly/16...
Of course there are Scala idioms that can yield poor compile times, like code using implicits or macros a lot, but Kotlin doesn't even have these features, so instead you'd have to write lot of additional boilerplate code by hand. How can we call writing code by hand fast vs not writing code at all? That's comparing apples and oranges.