~/talk

Incremental compiler taming scalac

Talkat Scalar 2016 · on Saturday, 2016-04-16· [scala, developer-experience]
slides:none on file

Explains how SBT’s Zinc incremental compiler drives scalac via a compiler plugin that records per-source API hashes and dependency names, then reenqueues affected files until stable (typically 1–3 cycles). Describes the current name hashing move from one hash per file to per-name hashes plus name-level dependencies, quantifies rare regressions versus full rebuilds, and lists practical fixes: add explicit return types and avoid multiple unrelated classes per file; code samples and tooling hooks live on the referenced GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:16Incremental compiler
  3. 1:12What is Incremental compiler
  4. 1:59How many Incremental compilers
  5. 2:52SBT
  6. 3:58Compiler
  7. 5:41Initial change sources
  8. 7:06Initial change compilation
  9. 7:33SBT compiler plugin
  10. 9:06More or less source
  11. 10:19traverser
  12. 11:38dependencies
  13. 13:35name hashing
  14. 15:09store dependencies
  15. 15:53file dependencies
  16. 16:57can we
  17. 17:35pull request
  18. 18:50precision
  19. 20:17speed up
  20. 20:29return types
  21. 21:30multiple classes
  22. 22:14questions
~/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.