Sciweavers

AFP
2008
Springer

A Tutorial on Parallel and Concurrent Programming in Haskell

13 years 11 months ago
A Tutorial on Parallel and Concurrent Programming in Haskell
This practical tutorial introduces the features available in Haskell for writing parallel and concurrent programs. We first describe how to write semi-explicit parallel programs by using annotations to express opportunities for parallelism and to help control the granularity of parallelism for effective execution on modern operating systems and processors. We then describe the mechanisms provided by Haskell for writing explicitly parallel programs with a focus on the use of software transactional memory to help share information between threads. Finally, we show how nested data parallelism can be used to write deterministically parallel programs which allows programmers to use rich data types in data parallel programs which are automatically transformed into flat data parallel versions for efficient execution on multi-core processors.
Simon L. Peyton Jones, Satnam Singh
Added 01 Jun 2010
Updated 01 Jun 2010
Type Conference
Year 2008
Where AFP
Authors Simon L. Peyton Jones, Satnam Singh
Comments (0)