Linearity and the pi-calculus

被引:143
作者
Kobayashi, N
Pierce, BC
Turner, DN
机构
[1] Univ Tokyo, Dept Informat Sci, Bunkyo Ku, Tokyo 1130033, Japan
[2] Univ Penn, Dept Comp & Informat Sci, Philadelphia, PA 19104 USA
[3] Teallach Ltd, Technol Transfer Ctr, Edinburgh EH9 3JL, Midlothian, Scotland
来源
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS | 1999年 / 21卷 / 05期
关键词
languages; theory; concurrency; confluence; linear types; pi-calculus; process calculi;
D O I
10.1145/330249.330251
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The economy and flexibility of the pi-calculus make it an attractive object of theoretical study and a clean basis for concurrent language design and implementation. However, such generality has a cost: encoding higher-level features like functional computation in pi-calculus throws away potentially useful information. We show how a linear type system can be used to recover important static information about a process's behavior. In particular, we can guarantee that two processes communicating over a linear channel cannot interfere with other communicating processes. After developing standard results such as soundness of typing, we focus on equivalences, adapting the standard notion of barbed bisimulation to the linear setting and showing how reductions on linear channels induce a useful "partial confluence" of process behaviors. For an extended example of the theory, we prove the validity of a tail-call optimisation for higher-order functions represented as processes.
引用
收藏
页码:914 / 947
页数:34
相关论文
共 58 条
[1]   COMPUTATIONAL INTERPRETATIONS OF LINEAR LOGIC [J].
ABRAMSKY, S .
THEORETICAL COMPUTER SCIENCE, 1993, 111 (1-2) :3-57
[2]  
ABRAMSKY S, 1994, NATO ASI SERIES F
[3]  
Agha Gul, 1986, Actors: A Model of Concurrent Computation in Distributed Systems
[4]  
AMADIO R, 1996, LECT NOTES COMPUTER, V1119
[5]  
BAKER HG, 1992, SIGPLAN NOTICES, V27, P89, DOI 10.1145/142137.142162
[6]  
CARDELLI L, 1986, LECT NOTES COMPUT SC, V242, P21
[7]  
FOURNET C, 1996, LECT NOTES COMPUTER, V1119, P406
[8]  
FOURNET C, 1996, P 23 ACM S PRINC PRO, P372, DOI DOI 10.1145/237721.237805
[9]  
GAY S, 1995, IEEE S LOG, P210, DOI 10.1109/LICS.1995.523258
[10]  
GAY SJ, 1993, P ACM SIGPLAN SIGACT, P429