Personal tools

Parallel

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
m (Getting started)
m (Getting started)
Line 12: Line 12:
 
#: ''Find out more about [[Concurrency|concurrency basics]]''
 
#: ''Find out more about [[Concurrency|concurrency basics]]''
 
# Work with clusters or do distributed programming
 
# Work with clusters or do distributed programming
#: Learn about concurrency first, then try using [[Network#Libraries| libraries]] implementing standard network protocols like HTTP or zeromq.
+
#: Learn about concurrency first, then try using [[Applications and Libraries/Network#Libraries| libraries]] implementing standard network protocols like HTTP or zeromq.
 
#: Meanwhile look out for [[Parallel/Research|ongoing research]] into distributed Haskell.
 
#: Meanwhile look out for [[Parallel/Research|ongoing research]] into distributed Haskell.
   

Revision as of 14:48, 20 April 2011

Parallelism and Concurrency in Haskell

Contents

1 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 (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 libraries implementing standard network protocols like HTTP or zeromq.
    Meanwhile look out for ongoing research into distributed Haskell.

2 Community

3 News

4 Tools

5 Documentation