A Rehabilitation of Message-passing Concurrency
summary
Argues that session types encode communication protocols as types, uses the pi-calculus plus linear logic to give a Curry–Howard account, and implements these ideas in a low-level language (Concurrency-Not) that runs examples such as a concurrent stack. Claims: well-typed programs enjoy session fidelity and deadlock freedom (and termination without recursion); adds forwarding as a required primitive and up/down shifts to support shared channels via acquire/release. Implementation works; compiler spends ~75% effort on usable error messages.
AI-written summary · about
chapters (20)
- 0:00Intro
- 0:16A Paper I Love
- 1:34The Activity of Programming
- 4:33Why is Functional Programming So Effective?
- 6:29What about Concurrency?
- 9:44There is Hope
- 11:26Example: A Store (Stack or Queue)
- 14:44A Simple Client, in CCO
- 18:21A Simple Provider, in CCO
- 25:30Summary So Far
- 27:07Typing Channels
- 27:44Session Types, Abstractly
- 30:34Session Typing Judgments
- 31:44Theoretical Properties
- 33:21Mode of Communication
- 34:40Session Types, in CCO
- 36:00Tracing the Type-Checker
- 38:34The Problem with Sharing
- 41:34A Shared Queue
- 45:30Session Types at Present
