TY - GEN
T1 - Tracing sharing in an imperative pure calculus (extended abstract)
AU - Giannini, Paola
AU - Servetto, Marco
AU - Zucca, Elena
N1 - Publisher Copyright:
© 2017 ACM.
PY - 2017/6/18
Y1 - 2017/6/18
N2 - We introduce a type and effect system, for an imperative object calculus, which infers sharing possibly introduced by the evaluation of an expression. Sharing is directly represented at the syntactic level as a relation among free variables, thanks to the fact that the calculus is pure. That is, imperative features are modeled by just rewriting source code terms. We consider both standard variables and affine variables, which can occur at most once in their scope. The latter are used as temporary references, to "move" a capsule (an isolated portion of store) to another location in the store. The sharing effects inferred by the type system are very expressive, and generalize notions introduced in literature by type modifiers.
AB - We introduce a type and effect system, for an imperative object calculus, which infers sharing possibly introduced by the evaluation of an expression. Sharing is directly represented at the syntactic level as a relation among free variables, thanks to the fact that the calculus is pure. That is, imperative features are modeled by just rewriting source code terms. We consider both standard variables and affine variables, which can occur at most once in their scope. The latter are used as temporary references, to "move" a capsule (an isolated portion of store) to another location in the store. The sharing effects inferred by the type system are very expressive, and generalize notions introduced in literature by type modifiers.
KW - Calculi
KW - Sharing
KW - Type and effect systems
UR - http://www.scopus.com/inward/record.url?scp=85026409839&partnerID=8YFLogxK
U2 - 10.1145/3103111.3104038
DO - 10.1145/3103111.3104038
M3 - Conference contribution
AN - SCOPUS:85026409839
T3 - Proceedings of the 19th Workshop on Formal Techniques for Java-Like Programs, FTfJP 2017 - Co-located with ECOOP 2017
BT - Proceedings of the 19th Workshop on Formal Techniques for Java-Like Programs, FTfJP 2017 - Co-located with ECOOP 2017
PB - Association for Computing Machinery, Inc
T2 - 19th Workshop on Formal Techniques for Java-Like Programs, FTfJP 2017
Y2 - 20 June 2017
ER -