Difference between revisions of "Parallel"

From HaskellWiki
Jump to: navigation, search
(Documentation: better link to a general research page)
m (Documentation)
Line 30: Line 30:
* [[Parallel/Reading|Parallel Haskell reading]]
* [[Parallel/Reading|Parallel Haskell reading]]
* [[Parallel/Research|Current research]]
* [[Parallel/Research|Current research]]
=== Tips and tutorials ===
* [[Performance/Concurrency|Concurrency performance]]

Revision as of 16:48, 16 March 2011

Parallelism and Concurrency in Haskell

Getting started

Haskell supports both pure parallelism and explicit concurrency. How would you like to begin?

  1. Speed up your code by making it run on multicore:
    Start with Control.Parallel (pseq, par) and refine with Strategies
  2. Manage simultaneous IO actions (eg. multiple connections on a web server)
    Start with Concurrent Haskell (forkIO, MVar)
  3. Work with clusters or do distributed programming
    Learn about concurrency first and then use the Haskell MPI bindings.
    Meanwhile look out for ongoing research into distributed Haskell.