Parallel and Concurrent Programming in Haskell
Techniques for Multicore and Multithreaded Programming
Publisher: O'Reilly Media
Released: July 2013
Pages: 322

If you have a working knowledge of Haskell, this hands-on book shows you how to use the language’s many APIs and frameworks for writing both parallel and concurrent programs. You’ll learn how parallelism exploits multicore processors to speed up computation-heavy programs, and how concurrency enables you to write programs with threads for multiple interactions.

Author Simon Marlow walks you through the process with lots of code examples that you can run, experiment with, and extend. Divided into separate sections on Parallel and Concurrent Haskell, this book also includes exercises to help you become familiar with the concepts presented:

  • Express parallelism in Haskell with the Eval monad and Evaluation Strategies
  • Parallelize ordinary Haskell code with the Par monad
  • Build parallel array-based computations, using the Repa library
  • Use the Accelerate library to run computations directly on the GPU
  • Work with basic interfaces for writing concurrent code
  • Build trees of threads for larger and more complex programs
  • Learn how to build high-speed concurrent network servers
  • Write distributed programs that run on multiple machines in a network
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyParallel and Concurrent Programming in Haskell
 
5.0

(based on 1 review)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 1 customer

Displaying review 1

Back to top

(1 of 1 customers found this review helpful)

 
5.0

Great explanations of concepts

By Aaron

from Little Rock, AR

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Helpful examples
  • Iteratively Builds Api
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Parallel and Concurrent Programming in Haskell:

    Simon has done a great job of explaining what can be a rather complex topic for Haskell programmers. By iteratively building the standard asynchronous API, it gives the reader insight into how the library works by dispelling the black magic. Now that I know how it's all put together, I feel more confident about building my applications correctly. In particular, the chapter on STM was enlightening, but I wish that there was a bit more time spent on it.

    I would recommend it to anyone who is already familiar with many Haskell concepts, but maybe hasn't dealt much with the fantastic asynchronous capabilities the language offers. Would give it a 4.5 star rating if I could, but I've opted to just round up.

    Displaying review 1

    Back to top

     
    Buy 2 Get 1 Free Free Shipping Guarantee
    Buying Options
    Immediate Access - Go Digital what's this?
    Ebook: $38.99
    Formats:  ePub, Mobi, PDF
    Print & Ebook: $49.49
    Print: $44.99