~/talk

Where Are We With Scala's Capabilities?

Talkat The Scala Workshop 2025 · on Sunday, 2025-10-12· [scala]
slides:none on file

Scala 3 uses using clauses and context functions to pass capabilities implicitly, and a capture type system that tracks which capabilities lambdas and objects close over; the nightly standard library is already capture-checked standard library and flags invalid compositions (the type checker rejects swapping future/result order that would break control flow). The team ships an effects API with okay/await that works inside higher‑order arguments, and is developing Project Kabiara for separation/linearity using a consume annotation to prevent aliasing bugs.

AI-written summary · about

  1. 0:00Introduction
  2. 0:45Scala needs capability systems
  3. 1:50Effects in functional languages
  4. 3:38Staged effects limitations
  5. 5:47Monadic effect systems problems
  6. 6:28Capability-based architecture
  7. 8:37What capabilities are
  8. 10:03Challenges with capabilities
  9. 11:49Scala 3 enables capabilities
  10. 12:31Modeling reactive effects
  11. 17:25Errors and async with capabilities
  12. 18:30Capabilities and algebraic effects
  13. 20:39Monads vs capabilities
  14. 21:23Effect polymorphism solution
  15. 24:16Pure and impure function types
  16. 25:18Try-with-resources pattern
  17. 27:05Capture types mechanics
  18. 28:51Practical capture checking
  19. 31:42Capture annotations in library
  20. 32:04Capability systems state
  21. 32:48Sharing restrictions enforcement
  22. 35:18Separation and linearity
  23. 36:44Capabilities for security
  24. 37:26Resources and papers
  25. 38:08Q&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.