Event-Driven Multiparty Session Actors
summary
Claims a first statically-typed multiparty session system for actors that lets a single actor participate in multiple sessions by combining flow-sensitive effect typing with first-class event handlers. Delivers a small core calculus, two typing judgments (value and flow-sensitive computation with session pre/postconditions), a type preservation proof, and a prototype typechecker plus small-step interpreter; Scala API generation is underway. Limits: global progress and fidelity proofs are pending and session-switching currently requires suspension.
AI-written summary · about
chapters (27)
- 0:00Introduction and speaker welcome
- 0:23Talk overview and motivation
- 1:04Actor languages and their challenges
- 3:11Multi-party session typing basics
- 5:42Two-buyer protocol walkthrough
- 8:11Challenges applying session types to actors
- 9:15Historical approaches to session-typed actors
- 10:18Flow-sensitive effect typing for session typing
- 11:44Key idea: Event-driven multiparty session actors
- 13:28Core components of the programming model
- 15:59Formal core calculus and typing rules
- 21:45Operational semantics and meta-theory
- 22:48Implementation status and future work
- 23:09Summary and contributions
- 23:53Q&A: Distinction between event and effect handlers
- 24:57Q&A: Implementing schedulers with effect handlers
- 26:01Q&A: Comparison with asynchronous effects work
- 27:08Q&A: Access point declaration and inference
- 28:52Q&A: Session type declaration challenges
- 29:13Q&A: Avoiding effect handler machinery
- 29:35Q&A: Monitoring approach for session types
- 30:42Q&A: Fault tolerance in this setting
- 31:49Q&A: Exception handling in effect systems
- 32:10Q&A: Fault tolerance and replication
- 32:30Q&A: Session typing with hot code reloading
- 33:34Q&A: Why first-class event handlers
- 33:56Q&A: Handlers as values vs computations
related talks
15mA Multiparty Session Typing Discipline for Fault-tolerant Event-driven Distributed Programming
23mA Synthetic Reconstruction of Multiparty Session Types
32mMulticompatibility for Multiparty-Session Composition
37mSession Types: A History and Applications
37mUsing Event Structures to model Multiparty Session Types: results and open problems
45mTaming Distribution: Formal Protocols for Akka Typed
18mHybrid Multiparty Session Types: Compositionality for Protocol Specification th...
15mStatically Verified Refinements for Multiparty Protocols
