News for hackers. Stuff that matters.
Re:Scala Center by cosmolev on Monday March 14, 2016 @01:12PM (#11284001)
Single thread performance is not getting better anymore. Addition of new cores does not cut compilation time (at least for Scala compiler).
Re:Scala Center by airless_bar on Monday March 14, 2016 @05:39PM (#11285776)
See also

    Improved incremental compilation of #scala in the
    making yields 10-40x compilation speedups:
    https://github.com/sbt/sbt/issues/1104#issuecomment-188529825
and

    After turning on the java8 backend in Scala, our 
    bytecode size decreased by 50% and compile times
    decreased by 75%. Amazeballs!
by some Scala devs.
Re:Scala Center by merb on Tuesday March 15, 2016 @05:26AM (#11288411)
Actually after I truned java8 backend on I got a reduced compile time. (after changing code). Actually we use Scala as a Improved Java, so we likely don't use so much "heavy" things.
Re:Scala Center by redtuesday on Monday March 14, 2016 @06:54PM (#11286156)
looking forward to the reactions from people regarding compilation times when sbt 1.0 and scala 2.12 land. hope a broad spectrum of code get's these compilation time improvements.
Re:Scala Center by virtualwhys on Monday March 14, 2016 @01:38PM (#11284175)
Sure, but Scala 2.12 replaces anonymous classes with Java 8 functional interfaces. Vast reduction in generated bytecode as a result, thus, not only faster compile times but also perhaps better run time performance (though hotspot, miracle of engineering that it is, does a pretty good job of optimizing most anything you throw at it).

Saying that, Scala 2.12 will still be relatively slow compared to say, C, Go, Java and similar languages not high up on the abstraction ladder. The real compiler speed up will be coming with Dotty (Scala 3). Martin Odersky estimates that Dotty will be up to 4X faster than present day Scala.