Paper Details

Communicating Process Architectures (CPA)
 Title: Hydra: A Python Framework for Parallel Computing
 Conference: Communicating Process Architectures 2009
 Authors: Waide B. Tristrama, Karen Bradshawb
(a) Department of Computer Sciience, Rhodes University
(b) Department of Computer Science, Rhodes University
 Abstract: This paper investigates the feasibility of developing a CSP to Python translator using a concurrent framework for Python. The objective of this translation framework, developed under the name of Hydra, is to produce a tool that helps programmers implement concurrent software easily using CSP algorithms. This objective was achieved using the ANTLR compiler generator tool, Python Remote Objects and PyCSP. The resulting Hydra prototype takes an algorithm defined in CSP, parses and converts it to Python and then executes the program using multiple instances of the Python interpreter. Testing has revealed that the Hydra prototype appears to function correctly, allowing simultaneous process execution. Therefore, it can be concluded that converting CSP to Python using a concurrent framework such as Hydra is both possible and adds flexibility to CSP with embedded Python statements. 

BibTeX Entry

Full paper