Paper Details

Communicating Process Architectures (CPA)
 Title: PyCSP - Communicating Sequential Processes for Python
 Conference: Communicating Process Architectures 2007
 Authors: John Markus Bjørndalena, Brian Vinterb, Otto J. Anshusa
(a) Department of Computer Science, University of Tromsø
(b) Department of Computer Science, University of Copenhagen
 Abstract: The Python programming language is effective for rapidly specifying programs and experimenting with them. It is increasingly being used in computational sciences, and in teaching computer science. CSP is effective for describing concurrency. It has become especially relevant with the emergence of commodity multi-core architectures. We are interested in exploring how a combination of Python and CSP can benefit both the computational sciences and the hands-on teaching of distributed and parallel computing in computer science. To make this possible, we have developed PyCSP, a CSP library for Python. PyCSP presently supports the core CSP abstractions. We introduce the PyCSP library, its implementation, a few performance benchmarks, and show example code using PyCSP. An early prototype of PyCSP has been used in this year s Extreme Multiprogramming Class at the CS department, university of Copenhagen with promising results. 

BibTeX Entry

Full paper