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 language | English |
---|---|
Publication date | 2008 |
Number of pages | 248 |
Publication status | Published - 2008 |
Event | PARA 2008 - 9th International Workshop on State-of-the-Art in Scientific and Parallel Computing - Trondheim, Norway Duration: 16 May 2008 → 13 May 2009 Conference number: 9 |
Conference
Conference | PARA 2008 - 9th International Workshop on State-of-the-Art in Scientific and Parallel Computing |
---|---|
Number | 9 |
Country/Territory | Norway |
City | Trondheim |
Period | 16/05/2008 → 13/05/2009 |