~/talk

Scala Under the Hood

TalkinRussianat JPoint 2015 · on Monday, 2015-04-20· [scala]
links:none on file
slides:none on file

Explains performance pitfalls in Scala by showing what the Scala compiler and HotSpot do under the hood. Covers how to benchmark with JMH and sbt, how to make scalac reveal its optimizations, and details on pattern matching, tail recursion and scala-collections that can cause slowdowns.

AI-written summary · about

  1. 0:00Introduction
  2. 1:18Performance basics
  3. 4:26JMH microbenchmarks
  4. 5:26Pattern matching deep dive
  5. 10:24Option vs null checks
  6. 14:34Tail recursion optimization
  7. 21:57Collections performance
  8. 33:01Primitives and boxing
  9. 36:31Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.