~/talk

Scala 2.12 & Java 8: More Fun Together!

Talkat Philly ETE 2016 · on Monday, 2016-04-11· [scala, java]
slides:none on file

Scala 2.12 compiles Scala lambdas to Java 8 bytecode using invokedynamic lambdas, so function objects become Java SAM instances and jars ship far fewer anonymous classes; traits now map directly to interfaces (traits to interfaces) while the compiler uses invokedynamic for some cached bootstraps. The backend switches to ASM and a new optimizer (based on Miguel Garcia’s work) replaces the old gen code (new ASM backend, optimizer based on Miguel Garcia). Release M4 is on Maven, targets Java 8, and reduces bytecode size and runtime allocation; a few minor source incompatibilities required fixes in the community build.

AI-written summary · about

  1. 0:00Start
  2. 5:24Scala Center
  3. 6:19Compiler Release
  4. 10:19Parallel Collections
  5. 10:47Macros
  6. 22:40Invoke Dynamic Bass Lambdas
  7. 23:08Single Abstract Methods
  8. 35:15Functional Programming
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.