Affiliation:
1. Carnegie Mellon University, USA
Abstract
Session-typed languages building on the Curry-Howard isomorphism between linear logic and session-typed communication guarantee session fidelity and deadlock freedom. Unfortunately, these strong guarantees exclude many naturally occurring programming patterns pertaining to shared resources. In this paper, we introduce sharing into a session-typed language where types are stratified into linear and shared layers with modal operators connecting the layers. The resulting language retains session fidelity but not the absence of deadlocks, which can arise from contention for shared processes. We illustrate our language on various examples, such as the dining philosophers problem, and provide a translation of the untyped asynchronous π-calculus into our language.
Funder
National Science Foundation
Mozilla Research
Publisher
Association for Computing Machinery (ACM)
Subject
Safety, Risk, Reliability and Quality,Software
Cited by
53 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Message-Observing Sessions;Proceedings of the ACM on Programming Languages;2024-04-29
2. DisLog: A Separation Logic for Disentanglement;Proceedings of the ACM on Programming Languages;2024-01-05
3. The Session Abstract Machine;Lecture Notes in Computer Science;2024
4. Implementing a Message-Passing Interpretation of the Semi-Axiomatic Sequent Calculus (Sax);Lecture Notes in Computer Science;2024
5. Prioritise the Best Variation;Logical Methods in Computer Science;2023-12-18