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

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

Simon Marlow


If you could have a operating wisdom of Haskell, this hands-on e-book exhibits you the way to take advantage of the language’s many APIs and frameworks for writing either parallel and concurrent courses. You’ll learn the way parallelism exploits multicore processors to hurry up computation-heavy courses, and the way concurrency helps you to write courses with threads for a number of interactions.

Author Simon Marlow walks you thru the method with plenty of code examples that you should run, test with, and expand. Divided into separate sections on Parallel and Concurrent Haskell, this booklet additionally comprises workouts that will help you familiarize yourself with the recommendations presented:

  • Express parallelism in Haskell with the Eval monad and review Strategies
  • Parallelize traditional Haskell code with the Par monad
  • Build parallel array-based computations, utilizing the Repa library
  • Use the speed up library to run computations at once at the GPU
  • Work with simple interfaces for writing concurrent code
  • Build timber of threads for higher and extra complicated programs
  • Learn how you can construct high-speed concurrent community servers
  • Write disbursed courses that run on a number of machines in a network

Show sample text content

Download sample