Arrows for Parallel Computation
Martin Braun, Oleg Lobachev, Phil Trinder

TL;DR
This paper introduces a novel approach to parallel programming using Arrows, demonstrating their flexibility and efficiency in distributed systems without significant performance overhead.
Contribution
It defines an Arrow-based language for parallelism, implements it across multiple Haskell systems, and shows its expressive power and efficiency through benchmarks.
Findings
Parallel Arrows (PArrows) can be composed and transformed easily.
PArrows achieve comparable performance to existing parallel languages.
The framework supports sophisticated communication via Futures.
Abstract
Arrows are a general interface for computation and an alternative to Monads for API design. In contrast to Monad-based parallelism, we explore the use of Arrows for specifying generalised parallelism. Specifically, we define an Arrow-based language and implement it using multiple parallel Haskells. As each parallel computation is an Arrow, such parallel Arrows (PArrows) can be readily composed and transformed as such. To allow for more sophisticated communication schemes between computation nodes in distributed systems, we utilise the concept of Futures to wrap direct communication. To show that PArrows have similar expressive power as existing parallel languages, we implement several algorithmic skeletons and four benchmarks. Benchmarks show that our framework does not induce any notable performance overhead. We conclude that Arrows have considerable potential for composing…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsParallel Computing and Optimization Techniques · Distributed systems and fault tolerance · Distributed and Parallel Computing Systems
