~/talk

System Capybara: Capture Tracking for Ownership and Borrowing

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

System Capybara extends capture checking to track ownership and borrowing by adding access-mode-qualified captures (read vs owned), enforcing separation and freshness through capture sets and a consume-as-fresh mechanism that models run-once resources. A prototype compiler Cavia implements the formal calculus and an experimental Scala 3 separation checker exists; demos show a mutable string buffer and file-handle APIs compile and reject aliasing or post-close use, and the team claims potential Rust encodings.

AI-written summary · about

  1. 0:00Introduction
  2. 0:42What is System Capybara
  3. 1:03Capture tracking core idea
  4. 3:13Separation and freshness
  5. 5:04Access modes for capabilities
  6. 9:04Reasoning about data separation
  7. 10:50Freshness and resource patterns
  8. 11:11File handling errors
  9. 13:41Formal system and future work
  10. 15:29Array buffer demo
  11. 17:01Q&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.