Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming

Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming

by Simon Marlow

322 pages· 2013· ISBN 9781449335946
About

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

Discuss Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming with other readers

Join or start a book club for Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming?

Sign up free on Readfeed, then browse public clubs or start your own club with Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Parallel and Concurrent Programming in Haskell: Techniques for Multicore and Multithreaded Programming with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.