Session types revisited
Session types revisited
复制标题
重新审视会话类型
DOI:
10.1145/2370776.2370794
复制
发表时间:
2012
影响因子:
0.5
通讯作者:
D. Sangiorgi
中科院分区:
文献类型:
--
作者:
Ornela Dardha;Elena Giachino;D. Sangiorgi
Session types are a formalism to model structured communication-based programming. A session type describes communication by specifying the type and direction of data exchanged between two parties. When session types and session primitives are added to the syntax of standard π-calculus types and terms, they give rise to additional separate syntactic categories. As a consequence, when new type features are added, there is duplication of efforts in the theory: the proofs of properties must be checked both on ordinary types and on session types. We show that session types are encodable in ordinary π types, relying on linear and variant types. Besides being an expressivity result, the encoding (i) removes the above redundancies in the syntax, and (ii) the properties of session types are derived as straightforward corollaries, exploiting the corresponding properties of ordinary π types. The robustness of the encoding is tested on a few extensions of session types, including subtyping, polymorphism and higher-order communications.
DOI:
--
发表时间:
2008
期刊:
--
影响因子:
--
作者:
N/a Gay
通讯作者:
N/a Gay