Linearity, Uniqueness, Ownership: An Entente Cordiale
summary
Claims that linearity and uniqueness serve different temporal guarantees—linearity restricts the future, uniqueness guarantees the past—and that both plus Rust-style ownership can coexist in a single graded system. Demonstrates an extended type system implemented in Granule, proved correspondence to fractional permissions and graded modalities, and shows concrete rules (share, clone) that enable destructive updates on unique mutable arrays and safe borrowing via fractional permissions. Presents ESOP/OOPSLA papers and an implemented prototype.
AI-written summary · about
chapters (15)
- 0:00Introduction
- 1:04Granule and research background
- 3:10Linear types with cake analogy
- 5:15Graded modal types beyond binary
- 8:46Uniqueness types and coffee analogy
- 11:13Linearity versus uniqueness
- 13:40Linearity and uniqueness in Granule
- 16:28Mutable arrays example
- 16:49Ownership in Rust-like systems
- 19:35Graded modalities for uniqueness
- 21:19Recap and related research
- 23:03Summary of linearity types
- 24:18Q&A: Fractional permissions
- 28:09Q&A: Unique ownership
- 30:00Q&A: Linear basis
