Join-calculus explained

The join-calculus is a process calculus developed at INRIA. The join-calculus was developed to provide a formal basis for the design of distributed programming languages, and therefore intentionally avoids communications constructs found in other process calculi, such as rendezvous communications, which are difficult to implement in a distributed setting.[1] Despite this limitation, the join-calculus is as expressive as the full π-calculus. Encodings of the π-calculus in the join-calculus, and vice versa, have been demonstrated.[2]

The join-calculus is a member of the π-calculus family of process calculi, and can be considered, at its core, an asynchronous π-calculus with several strong restrictions:[3]

However, as a language for programming, the join-calculus offers at least one convenience over the π-calculus — namely the use of multi-way join patterns, the ability to match against messages from multiple channels simultaneously.[4]

Implementations

Languages based on the join-calculus

The join-calculus programming language is a new language based on the join-calculus process calculus. It is implemented as an interpreter written in OCaml, and supports statically typed distributed programming, transparent remote communication, agent-based mobility, and some failure-detection.[5]

Many implementations of the join-calculus were made as extensions of existing programming languages:

Embeddings in other programming languages

These implementations do not change the underlying programming language but introduce join calculus operations through a custom library or DSL:

References

  1. . The reflexive CHAM and the join-calculus . 1995 ., pg. 1
  2. Cedric Fournet, Georges Gonthier . The reflexive CHAM and the join-calculus . 1995 ., pg. 2
  3. Cedric Fournet, Georges Gonthier . The reflexive CHAM and the join-calculus . 1995 ., pg. 19
  4. Web site: Petricek . Tomas . TryJoinads (IV.) - Concurrency using join calculus . 2023-01-24 . tomasp.net.
  5. Cedric Fournet, Georges Gonthier . The Join Calculus: A Language for Distributed Mobile Programming . 2000 . 268–332 .
  6. Web site: JErlang: Erlang with Joins . 2015-04-18 . https://web.archive.org/web/20171208175247/http://www.doc.ic.ac.uk/~susan/jerlang/ . 2017-12-08 . dead .
  7. https://github.com/maandree/join-python/blob/master/join-python.pdf Join Python, Join-calculus for Python by Mattias Andree
  8. http://channel.sourceforge.net/boost_join/libs/join/doc/boost_join_design.html Yigong Liu - Join-Asynchronous Message Coordination and Concurrency Library

External links