~/talk

Compiling Like A Boss!

Talkat Scala Italy 2017 · on Saturday, 2017-05-13· [scala]
slides:none on file

Scala compile time hotspots are konkret: typer phase can take >50% of compile time, macros and implicit lookup cause blowups (examples: 20–40% slower across versions, single files expanding to 45,000 lines), and moving implicits from package objects to companion objects cut a real project’s build by ~40%. Use scalac flags like -Xlog-implicits, -verbose and -Xprint to inspect phases and macros, or compile single file to test by setting the target/classpath. A drop‑in product exists as an Idra SBT plugin (subscription, forked now) that parallelizes per‑source compilation and reports 2×–3× speedups (30–40% in some cases).

AI-written summary · about

  1. 0:00Introduction
  2. 2:35Scala releases and speed
  3. 5:49Detecting compile inefficiencies
  4. 15:27Implicit resolution explained
  5. 22:26Macros and compile time
  6. 23:34Introducing Hyra
  7. 28:08Hyra's parallel compilation
  8. 33:29Hyra performance results
  9. 36:16Using Hyra today
  10. 38:00Roadmap and community
~/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.