Tracing sharing in an imperative pure calculus
- We introduce a type and effect system, for an imperative object calculus, which infers sharing possibly introduced by the evaluation of an expression, represented as an equivalence relation among its free variables. This direct representation of sharing effects at the syntactic level allows us to express in a natural way, and to generalize, widely-used notions in literature, notably uniqueness and borrowing. Moreover, the calculus is pure in the sense that reduction is defined on language terms only, since they directly encode store. The advantage of this non-standard execution model with respect to a behaviorally equivalent standard model using a global auxiliary structure is that reachability relations among references are partly encoded by scoping. (C) 2018 Elsevier B.V. All rights reserved.
Verfasserangaben: | Paola Giannini, Tim Richter, Marco Servetto, Elena ZuccaORCiD |
---|---|
DOI: | https://doi.org/10.1016/j.scico.2018.11.007 |
ISSN: | 0167-6423 |
ISSN: | 1872-7964 |
Titel des übergeordneten Werks (Englisch): | Science of computer programming |
Verlag: | Elsevier |
Verlagsort: | Amsterdam |
Publikationstyp: | Wissenschaftlicher Artikel |
Sprache: | Englisch |
Datum der Erstveröffentlichung: | 03.12.2018 |
Erscheinungsjahr: | 2018 |
Datum der Freischaltung: | 31.03.2021 |
Freies Schlagwort / Tag: | Imperative calculi; Sharing; Type and effect systems |
Band: | 172 |
Seitenanzahl: | 23 |
Erste Seite: | 180 |
Letzte Seite: | 202 |
Fördernde Institution: | Universita del Piemonte Orientate |
Organisationseinheiten: | Mathematisch-Naturwissenschaftliche Fakultät / Institut für Informatik und Computational Science |
DDC-Klassifikation: | 0 Informatik, Informationswissenschaft, allgemeine Werke / 00 Informatik, Wissen, Systeme / 004 Datenverarbeitung; Informatik |
Peer Review: | Referiert |