Modularizing and Specifying Protocols among Threads
Programming Languages
2013-02-27 v1
Abstract
We identify three problems with current techniques for implementing protocols among threads, which complicate and impair the scalability of multicore software development: implementing synchronization, implementing coordination, and modularizing protocols. To mend these deficiencies, we argue for the use of domain-specific languages (DSL) based on existing models of concurrency. To demonstrate the feasibility of this proposal, we explain how to use the model of concurrency Reo as a high-level protocol DSL, which offers appropriate abstractions and a natural separation of protocols and computations. We describe a Reo-to-Java compiler and illustrate its use through examples.
Keywords
Cite
@article{arxiv.1302.6333,
title = {Modularizing and Specifying Protocols among Threads},
author = {Sung-Shik T. Q. Jongmans and Farhad Arbab},
journal= {arXiv preprint arXiv:1302.6333},
year = {2013}
}
Comments
In Proceedings PLACES 2012, arXiv:1302.5798