db_connect: Could not connect to paper db at "wotug@dragon.kent.ac.uk"
db_connect: Could not connect to paper db at "wotug@dragon.kent.ac.uk"
%T Hydra: A Python Framework for Parallel Computing
db_connect: Could not connect to paper db at "wotug@dragon.kent.ac.uk"
%A Waide B. Tristram, Karen Bradshaw
db_connect: Could not connect to paper db at "wotug@dragon.kent.ac.uk"
%E Peter H. Welch, Herman Roebbers, Jan F. Broenink, Frederick R. M. Barnes, Carl G. Ritson, Adam T. Sampson, G. S. Stiles, Brian Vinter
%B Communicating Process Architectures 2009
%X 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.