~/talk

Ordered Types for Typestate

Talkat IWACO 2024 · on Monday, 2024-10-21
links:none on file
slides:none on file

Derives a calculus that encodes typestate as sets of allowed future traces and uses ordered context semicolons as temporal consumption order, so borrows are implemented by a single split operation that returns an ordered pair (borrow view + leftover). Uses bunched contexts and regular-language product derivative to compute a unique best leftover type for borrows; shows when let-like rewrites break size preservation (so three different let forms or an effect/value discipline are needed). Demonstrates the approach models read/write/close protocols and avoids explicit object identities.

AI-written summary · about

  1. 0:00Ordered logic origins
  2. 2:04Polakow & Pfenning’s calculus
  3. 7:01Memory allocation research
  4. 10:11Stack typing with bunched contexts
  5. 15:52Reinterpreting ordered logic for typestate
  6. 24:23Summary of key insights
  7. 26:19Q&A on borrowing
~/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.