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 Higher\-Order Concurrency in Java
db_connect: Could not connect to paper db at "wotug@dragon.kent.ac.uk"
%A Erik D. Demaine
db_connect: Could not connect to paper db at "wotug@dragon.kent.ac.uk"
%E Andr\[`e] W. P. Bakkers
%B Proceedings of WoTUG\-20: Parallel Programming and Java
%X In this paper we examine an extension to Hoare\[rs]s
Communicating Sequential Processes model called
higher\-order concurrency, proposed by Reppy. In this
extension, communication algorithms (or events) are
first\-class objects and can be created and manipulated
dynamically. In addition, threads are automatically garbage
collected and channels are first\-class, that is, they can
be passed over other channels. We describe the design of a
Java package that implements the main features of
higher\-order concurrency, with similar ease\-of\-use to
Reppy\[rs]s Concurrent ML system. Our implementation can be
easily extended to use a distributed system, which is a
major limitation with Concurrent ML. We also hope to bring
the idea of higher\-order concurrency to a wider audience,
since it is extremely powerful and flexible, but currently
only well known to the programming\-languages community.