Marshall, Danielle, Orchard, Dominic A. (2024) Non-linear communication via graded modal session types. Information and Computation, 301 (Part A). Article Number 105234. ISSN 0890-5401. E-ISSN 1090-2651. (doi:10.1016/j.ic.2024.105234) (KAR id:107848)
PDF
Publisher pdf
Language: English
This work is licensed under a Creative Commons Attribution 4.0 International License.
|
|
Download this file (PDF/1MB) |
Preview |
Request a format suitable for use with assistive technology e.g. a screenreader | |
Official URL: https://doi.org/10.1016/j.ic.2024.105234 |
Abstract
Session types provide guarantees about concurrent behaviour and can be understood through their correspondence with linear logic, with propositions as sessions and proofs as processes. However, strict linearity is limiting since there exist useful communication patterns that rely on non-linear behaviours. For example, shared channels can repeatedly spawn a process with binary communication along a fresh linear channel. Non-linearity can be introduced in a controlled way through the concept of graded modal types, which are a framework encompassing various kinds of coeffect (describing how computations make demands on their context). This paper shows how graded modalities can work alongside session types, enabling various non-linear concurrency behaviours to be re-introduced precisely. The ideas are demonstrated using Granule, a functional language with linear, indexed, and graded modal types. We define a core calculus capturing the requisite features and our new graded primitives, then present an operational model and establish various key properties.
Item Type: | Article |
---|---|
DOI/Identification number: | 10.1016/j.ic.2024.105234 |
Uncontrolled keywords: | Session types, Graded types, Communication patterns |
Subjects: | Q Science > QA Mathematics (inc Computing science) |
Divisions: | Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing |
Funders: | Engineering and Physical Sciences Research Council (https://ror.org/0439y7842) |
SWORD Depositor: | JISC Publications Router |
Depositing User: | JISC Publications Router |
Date Deposited: | 22 Nov 2024 15:49 UTC |
Last Modified: | 25 Nov 2024 15:33 UTC |
Resource URI: | https://kar.kent.ac.uk/id/eprint/107848 (The current URI for this page, for reference purposes) |
- Link to SensusAccess
- Export to:
- RefWorks
- EPrints3 XML
- BibTeX
- CSV
- Depositors only (login required):