~/talk

Capture Tracking in Scala

Talkat IWACO 2023 · on Tuesday, 2023-10-24· [scala]
slides:none on file

Claim: compile-time capture tracking makes effect- and resource-typing work without exploding higher‑order APIs by treating effects as capabilities as implicit values that tunnel through closures. Implementation: a capture‑checker phase in the Scala 3 compiler, boxed/unboxed capture types, small stdlib annotations (iterator captures) and a prototype arena allocation; porting of stdlib ongoing. Results: closure-based effect polymorphism composes, boundary/break and suspensions (Scala Native + Loom plan) work, arena tests give only a few percent speedup.

AI-written summary · about

  1. 0:00Introduction
  2. 3:52Scala’s evolution and capture tracking
  3. 17:30Capabilities for effect tracking
  4. 28:15Capabilities and effects deep dive
  5. 43:46Capturing types and compiler
  6. 1:02:00Direct style and continuations
  7. 1:21:29Q&A
~/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.