Activities per year
Abstract
Mainstream programming idioms intensively rely on state mutation, sharing, and concurrency. Designing type systems for handling and disciplining such idioms is challenging, due to long known conflicts between internal non-determinism, linearity, and control effects such as exceptions. In this paper, we present the first type system that accommodates non-deterministic and abortable behaviors in the setting of session-based concurrent programs. Remarkably, our type system builds on a Curry-Howard correspondence with (classical) linear logic conservatively extended with two dual modalities capturing an additive (co)monad, and provides a first example of a Curry-Howard interpretation of a realistic programming language with built-in internal non-determinism. Thanks to its deep logical foundations, our system elegantly addresses several well-known tensions between control, linearity, and non-determinism: globally, it enforces progress and fidelity; locally, it allows the specification of non-deterministic and abortable computations. The expressivity of our system is illustrated by several examples, including a typed encoding of a higher-order functional language with threads, session channels, non-determinism, and exceptions.
Original language | English |
---|---|
Title of host publication | Programming Languages and Systems |
Editors | H. Yang |
Publisher | Springer |
Pages | 229-259 |
Number of pages | 31 |
DOIs | |
Publication status | Published - 2017 |
Event | 26th European Symposium on Programming (ESOP 2017), Held as Part of the European Joint Conferences on Theory and Practice of Software, {ETAPS} 2017, Uppsala, Sweden, April 22-29, 2017. - Duration: 22-Apr-2017 → 29-Apr-2017 |
Publication series
Name | Lecture Notes in Computer Science |
---|---|
Publisher | Springer |
Volume | 10201 |
Conference
Conference | 26th European Symposium on Programming (ESOP 2017), Held as Part of the European Joint Conferences on Theory and Practice of Software, {ETAPS} 2017, Uppsala, Sweden, April 22-29, 2017. |
---|---|
Period | 22/04/2017 → 29/04/2017 |
Fingerprint
Dive into the research topics of 'Linearity, Control Effects, and Behavioral Types'. Together they form a unique fingerprint.Activities
- 1 Academic presentation
-
Linearity, Control Effects, and Behavioral Types
Perez Parra, J. (Invited speaker)
12-Jan-2021Activity: Talk and presentation › Academic presentation › Academic