PyCSP - Communicating Sequential Processes for Python

Brian Vinter, John Markus Bjørndalen, Otto Johan Anshus

995 Downloads (Pure)

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.
Original languageEnglish
Publication date2008
Number of pages248
Publication statusPublished - 2008
EventPARA 2008 - 9th International Workshop on State-of-the-Art in Scientific and Parallel Computing - Trondheim, Norway
Duration: 16 May 200813 May 2009
Conference number: 9

Conference

ConferencePARA 2008 - 9th International Workshop on State-of-the-Art in Scientific and Parallel Computing
Number9
Country/TerritoryNorway
CityTrondheim
Period16/05/200813/05/2009

Fingerprint

Dive into the research topics of 'PyCSP - Communicating Sequential Processes for Python'. Together they form a unique fingerprint.

Cite this