Difference between revisions of "Parallel"
Jump to navigation
Jump to search
m (category) |
(→Getting started: just link to research section) |
||
Line 10: | Line 10: | ||
#: Start with Concurrent Haskell ('''forkIO''', '''MVar''') |
#: Start with Concurrent Haskell ('''forkIO''', '''MVar''') |
||
# Work with clusters or do distributed programming |
# Work with clusters or do distributed programming |
||
− | #: Distributed programming is still ongoing research. |
+ | #: Distributed programming is still ongoing [[Parallel/Research|research]]. |
#: In the meantime, you could use the Haskell MPI bindings, which use Concurrent Haskell and the MPI library. |
#: In the meantime, you could use the Haskell MPI bindings, which use Concurrent Haskell and the MPI library. |
||
Revision as of 16:14, 16 March 2011
Parallelism and Concurrency in Haskell
Getting started
Haskell supports both pure parallelism and explicit concurrency. How would you like to begin?
- Speed up your code by making it run on multicore:
- Start with Control.Parallel (pseq, par) and refine with Strategies
- Manage simultaneous IO actions (eg. multiple connections on a web server)
- Start with Concurrent Haskell (forkIO, MVar)
- Work with clusters or do distributed programming
- Distributed programming is still ongoing research.
- In the meantime, you could use the Haskell MPI bindings, which use Concurrent Haskell and the MPI library.
Community
- The parallel-haskell mailing list
- Follow @parallelhaskell on Twitter
- StackOverflow on Haskell parallelism and concurrency
News
Tools
- Threadscope - parallel programs not getting faster? Use the Threadscope debugger and watch sparks fly.
- Comprehensive list of Parallelism and Concurrency libraries