Download PDFOpen PDF in browser

ParT: An Asynchronous Parallel Abstraction for Speculative Pipeline Computations

EasyChair Preprint no. 43

20 pagesDate: April 5, 2018

Abstract

The ubiquity of multicore computers has forced programming language designers to rethink how languages express parallelism and concurrency. This has resulted in new language constructs and new combinations or revisions of existing constructs. In this line, we extended the programming languages Encore, actor-based, and Clojure, functional, with an asynchronous parallel abstraction called ParT, a data structure that can dually be seen as a collection of asynchronous values (integrating with futures) or a handle to a parallel computation, plus a collection of combinators for manipulating the data structure. The combinators can express parallel pipelines and speculative parallelism. This paper presents a typed calculus capturing the essence of ParT, abstracting away from details of the Encore and Clojure programming languages. The calculus includes tasks, futures, and combinators similar to those of Orc but, implemented in a non-blocking fashion. Furthermore, the calculus strongly mimics how ParT is implemented, and it can serve as the basis for adaptation of ParT into different languages and for further extensions.

Keyphrases: active objects, Actors, asynchrony, futures, parallelism, programming languages, tasks

BibTeX entry
BibTeX does not have the right entry for preprints. This is a hack for producing the correct reference:
@Booklet{EasyChair:43,
  author = {Kiko Fernandez-Reyes and Dave Clarke and Daniel S. McCain},
  title = {ParT: An Asynchronous Parallel Abstraction for Speculative Pipeline Computations},
  howpublished = {EasyChair Preprint no. 43},
  doi = {10.29007/j7j6},
  year = {EasyChair, 2018}}
Download PDFOpen PDF in browser