Live data from Hacker News

Scala 2.12.0 is now available

scala-lang.org

1–10 of 78 posts

Re: Scala 2.12.0 is now available

#4
Does anyone have sample sizes on Jar file size reduction, or clean compile time from the new backend? I haven't been deep in Scala for a few months, and it sounds interesting that Java8 allowed some improvements on the back end...

Re: Scala 2.12.0 is now available

#5
This is the version of Scala that breaks compatibility with Java 6 in the generated bytecode, by making use of Java 8's features, like invokedynamic, default interface methods and integration with SAM types.

This is great because the generated bytecode is smaller and more resistant to binary compatibility issues. Scala has had problems with binary compatibility because its features don't map that well on top of the JVM and traits have been very problematic, so thankfully now we have a more efficient encoding. Having SAM support is also good for both Java devs wanting to use Scala libraries and for Scala devs wanting to use Java libraries.

But this also means that Scala 2.11 should be a long-term support version, because even though Java 6 and 7 have reached end of life, the world is not ready to fully commit to Java 8, as sadly there are projects like Android that are holding us back.

Scala 2.12 is a big achievement, with many changes under the hood. I'm happy to finally see it released. Kudos to those involved.

Re: Scala 2.12.0 is now available

#8

The right-biased Either, and the partial unification support that it builds on, are a much needed and much appreciated improvement. Really looking forward to trying out this release.

I just learned these were on the table last night. It's like Christmas!

Re: Scala 2.12.0 is now available

#10
post #5

This is the version of Scala that breaks compatibility with Java 6 in the generated bytecode, by making use of Java 8's features, like invokedynamic, default interface methods and integration with SAM types. This is great because the generated bytecode is smaller and more resistant to binary compatibility issues. Scala has had problems with binary compatibility because its features don't map that well on top of the J…

..., the world is not ready to fully commit to Java 8, as sadly there are projects like Android that are holding us back.

And GAE standard environment. :(

Post reply on HN