scala


Academese to English: A Practical Tour of Scala’s Type System

Location: Salon B
April 11th, 2016
11:30 AM - 12:30 PM

Scala is famous in part for having one of the richest type systems of all mainstream programming languages today. Despite its reputation, Scala's type system remains one of the most under-documented and jargon-heavy aspects of Scala. This talk will turn the academese into English, providing an example-rich tour of Scala’s type system, covering all the things that make people call it “powerful”. This talk isn't about showcasing a bunch of challenging little logical puzzles with types; on the contrary, this talk is about showing practical uses of Scala's type system, making it work for you and your users. We'll see
Read more  »

Heather Miller

Executive Director, Scala Center, EPFL

Scala 2.12 & Java 8: More Fun Together!

Location: Salon B
April 11th, 2016
2:45 PM - 3:45 PM

To take full advantage of Java 8's support for lambdas and interfaces with concrete methods, a lot is changing behind the scenes of the Scala 2.12 compiler! At the language level, Scala has always had first-class support for lambdas, of course, and with Java 8's invokedynamic machinery we can now compile them to more compact and efficient bytecode. We also interoperate fully with Java's modeling of functions as Single Abstract Method types (aka functional interfaces). The other advantage of compiling to Java 8 bytecode is a more direct encoding of traits. The invokedynamic instruction plays an interesting role here as
Read more  »

Adriaan Moors

Scala Compiler Team Lead