The Buffered Ï-Calculus: A Model for Concurrent Languages
arXiv:1212.6183
Abstract
Message-passing based concurrent languages are widely used in developing large distributed and coordination systems. This paper presents the buffered $Ï$-calculus --- a variant of the $Ï$-calculus where channel names are classified into buffered and unbuffered: communication along buffered channels is asynchronous, and remains synchronous along unbuffered channels. We show that the buffered $Ï$-calculus can be fully simulated in the polyadic $Ï$-calculus with respect to strong bisimulation. In contrast to the $Ï$-calculus which is hard to use in practice, the new language enables easy and clear modeling of practical concurrent languages. We encode two real-world concurrent languages in the buffered $Ï$-calculus: the (core) Go language and the (Core) Erlang. Both encodings are fully abstract with respect to weak bisimulations.