Scala, a trendy object-oriented and functional language for the Java Virtual Machine, is now aligned with Java 8, the latest release of the standard Java platform.

Version 2.12.0, released Wednesday, features a complete overhaul of its compiler to take advantage of VM features in the Java upgrade, according to scala-lang.org. With Scala 2.12.0, a trait compiles directly to an interface with default methods, to improve binary compatibility and Java interoperability. And with Java 8 allowing concrete methods in interfaces, Scala 2.12.0 is able to compile a trait to a single interface classfile.

To read this article in full or to leave a comment, please click here