Papers: memory and resources
Stigi frees memory at its last use, keeps stacks bounded and tracks resource states, all without a garbage collector. These papers show how ownership, regions and typestate make that safe.
Ownership and borrowing
Section titled “Ownership and borrowing”- Schorr and Waite (1967) — Schorr and Waite, CACM 1967.
- Checking Interference with Fractional Permissions — Boyland, SAS 2003.
- Matsakis (2018) — Matsakis, 2018.
- RustBelt — Jung et al., POPL 2018.
- Modelling Rust’s Reference Ownership Analysis Declaratively in Datalog — Stjerna, 2020.
- Oxidizing OCaml with Modal Memory Management — Lorenzen, White, Dolan, Eisenberg and Lindley, ICFP 2024.
- Tree Borrows — Villani, Hostert, Dreyer and Jung, PLDI 2025.
Regions and reference counting
Section titled “Regions and reference counting”- Region-Based Memory Management — Tofte and Talpin, Information and Computation 1997.
- ASAP: As Static As Possible Memory Management — Proust, Cambridge TR 908, 2017.
- Perceus: Garbage Free Reference Counting with Reuse — Reinking, Xie, de Moura and Leijen, PLDI 2021.
In-place updates and recursion
Section titled “In-place updates and recursion”- FP2: Fully in-Place Functional Programming — Lorenzen, Leijen and Swierstra, ICFP 2023.
- Tail Recursion Modulo Context — Leijen and Lorenzen, PLDI 2023.
- The Functional Essence of Imperative Binary Search Trees — Lorenzen, Leijen, Swierstra and Lindley, PLDI 2024.
Typestate
Section titled “Typestate”- Typestate — Strom and Yemini, IEEE TSE 1986.
Stack, layout and indexing
Section titled “Stack, layout and indexing”- Eliminating Stack Overflow by Abstract Interpretation — Regehr, Reid and Webb, EMSOFT 2003.
- Polyhedral tiling — Bondhugula et al., PLDI 2008.
- Hacker’s Delight — Warren, 2nd ed. 2012.
- Carbonneaux, Hoffmann, Ramananandro and Shao (2014) — Carbonneaux, Hoffmann, Ramananandro and Shao, PLDI 2014.
- Spectre Attacks: Exploiting Speculative Execution — Kocher et al., S&P 2019.
- Blade — Vassena et al., POPL 2021.
- Ultimate SLH — Zhang et al., USENIX Security 2023.
- CuTe layout algebra — Thakkar et al., 2023.
- Blelloch — Blelloch.