~/talk

Capture Checking - A New Approach to Effect Safety in Scala

Talkat Scala Days 2025 Lausanne · 2025-08-19..08-21· [scala]
links:none on file
slides:none on file

Capture Checking adds capability tracking into Scala’s type system and turns runtime resource-leak crashes (for example returning a file handle from a scoped block) into compile errors; the compiler already emits errors for those leaks and the standard library has been annotated in nightlies with capture sets. It uses boxing to suspend captures in generic code, supports effect polymorphism and classifiers for finer filtering, includes separation checks, and has a mechanized soundness proof in Lean.

AI-written summary · about

  1. 0:00Capture checking in Scala
  2. 2:28Fixing resource leaks
  3. 7:23Classes with capture annotations
  4. 12:40Subcapturing and lineage
  5. 13:01Effect polymorphism
  6. 19:22Path-dependent types
  7. 21:27Implicit vs explicit polymorphism
  8. 22:51Boxing for generic code
  9. 26:23Full Scala standard library
  10. 32:22Advanced classifier capabilities
  11. 34:54Maturity and availability
~/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.