Difference between revisions of "Parallel"

From HaskellWiki
Jump to navigation Jump to search
m (some recent digests)
(→‎Tools: link to new ThreadScope page)
Line 32: Line 32:
 
== Tools ==
 
== Tools ==
   
* [http://research.microsoft.com/en-us/projects/threadscope Threadscope] - parallel programs not getting faster? Use the Threadscope debugger and watch sparks fly.
+
* [[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 06:56, 26 April 2012


Parallelism and Concurrency in Haskell

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 (par, pseq) and refine with Strategies
    Find out more about parallelism basics
  2. Manage simultaneous IO actions (eg. multiple connections on a web server)
    Start with Concurrent Haskell (forkIO, MVar)
    Find out more about concurrency basics
  3. Work with clusters or do distributed programming
    Learn about concurrency first, then try using network protocol libraries like HTTP or zeromq.
    Meanwhile look out for ongoing research into distributed Haskell.

Community

News

Tools

Documentation