4 ms·
Anyone know how the compilation times compare with regular Scala?
by krisajenkins 13y ago
Anyone know how the compilation times compare with regular Scala?
- acjohnson55 13y agoScala's compile times (along with other aspects of its development experience) are among my biggest annoyances with the language. It just seems like it should be way better than it is for such an intellectually advanced language. I've been investing a lot of time in learning Scala because I think that it's at the head of the vanguard of a software engineering revolution, but with some of its ergonomic issues, I can't help thinking it's eventually going to lose out to something that's more elegant from a design standpoint and has better tooling.
- chris_overseas 13y agoTake a look at Kotlin (http://kotlin.jetbrains.org http://kotlin.jetbrains.org), it was designed to address the issues you mention.
- acjohnson55 13y agoFascinating, thanks! For anyone else interested, I found this to be useful: http://confluence.jetbrains.com/display/Kotlin/Comparison+to+Scala http://confluence.jetbrains.com/display/Kotlin/Comparison+to...
- humpty44 13y agoKotlin seems like a lightly stripped down Scala.
- pkolaczk 13y agoLightly? I'd say one of the most important features were removed - implicits and most of the typesystem magic. Kotlin feels just like Java with lambdas, better null checking. slightly improved generics and some minor syntactic refinements. Most of its "features" will be obsoleted by Java 8.
- sjrd 13y agoIt's basically equivalent to Scala for the compilation itself (no noticeable difference). But the browser refresh in dev mode can take up to 5 seconds (or down to under 1 sec, depends on the machine). There is a tool that helps with this by using clever tricks to refresh the browser without reparsing the standard lib: https://github.com/lihaoyi/scala-js-workbench https://github.com/lihaoyi/scala-js-workbench