Parallel
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Parallelism and Concurrency in Haskell
Get 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. See below for current efforts.
- In the meantime, you could use the Haskell MPI bindings, which use Concurrent Haskell and the MPI library.
Dig deeper
Documentation
Tools
- Threadscope - parallel programs not getting faster? Use the Threadscope debugger and watch sparks fly.
- Comprehensive list of Parallelism and Concurrency libraries
Stay in touch
News
Community
- The parallel-haskell mailing list
- Follow @parallelhaskell on Twitter
- StackOverflow on Haskell parallelism and concurrency