#systems #communicating #calculus #robin #nix #benchmark #milner

app ccs

A simple implementation of the Calculus of Communicating Systems by Robin Milner

1 unstable release

0.1.0 Dec 31, 2024

#1 in #communicating

Download history 66/week @ 2024-12-25 92/week @ 2025-01-01

158 downloads per month

MIT license

7MB
2K SLoC

A Practical Implementation of the Caclulus of Communicating Systems

Trying out the Program

With Cargo:

$ cargo build --release
$ export PATH="$(realpath target/release/):$PATH"

With Nix:

$ nix shell

Running the Benchmark

There are two benchmarking scripts:

  • benchmark.py to execute the benchmark
  • render_benchmark.py to create diagram visualizations

Running the benchmarks with Nix:

$ nix run .#benchmark
$ nix run .#render-benchmark

Running benchmarks without Nix (requires Cargo, Python 3 and matplotlib):

$ cargo build --release
$ python3 benchmark.py
$ python3 render_benchmark.py

See benchmark.py --help for optional parameters or view the 3D diagram with render_benchmark.py show.

Dependencies