Personal tools

Parallel

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Tools)
(Tools)
Line 17: Line 17:
 
=== Tools ===
 
=== Tools ===
   
  +
* [http://research.microsoft.com/en-us/projects/threadscope|Threadscope] - parallel programs not getting faster? Use the Threadscope debugger and watch sparks fly.
 
* Comprehensive list of [[Applications_and_libraries/Concurrency_and_parallelism|Parallelism and Concurrency libraries]]
 
* Comprehensive list of [[Applications_and_libraries/Concurrency_and_parallelism|Parallelism and Concurrency libraries]]
   

Revision as of 13:49, 16 March 2011

Parallelism and Concurrency in Haskell

Contents

1 Get 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
    Distributed programming is still ongoing research. See below for current efforts.
    In the meantime, you could use the Haskell MPI bindings, which use Concurrent Haskell and the MPI library.

2 Dig deeper

2.1 Tools

2.2 Community

3 Find out more

3.1 Research