Revision as of 11:11, 12 October 2012
Cloud Haskell is a domain-speciﬁc language for developing programs for a distributed computing environment. Implemented as a shallow embedding in Haskell, it provides a message passing communication model, inspired by Erlang, without introducing incompatibility with Haskell’s established shared-memory concurrency.
For an overview of Cloud Haskell it's probably a good idea to read Towards Haskell in the Cloud (details below). The relevant documentation (in order of importance is)
If you want to know more details about Closure or Static (without the Template Haskell magic on top) you might want to read
3 Blog Posts
Cloud Haskell intros
Alen Ribic has a series of blog posts about (Cloud) Haskell on the Raspberry Pi
Well-Typed have a series of blog posts "Communication Patterns in Cloud Haskell"
- Part 1: Master-Slave, Work-Stealing and Work-Pushing
- Part 2: Performance
- Part 3: Map-Reduce
- Part 4: K-Means (to appear)
- Towards Haskell in the Cloud, Jeff Epstein, Andrew Black, and and Simon Peyton Jones. Haskell Symposium, Tokyo, Sept 2011.
- Functional programming for the data centre, Jeff Epstein. Masters Thesis, University of Cambridge, 2011
5 Other Useful Packages
A core concept in Cloud Haskell is that of serializable values. The Serializable type class combines Typeable and Binary. ghc can automatically derive Typeable instances for custom data types, but you need a package to derive Binary. There are various packages available that assist with this:
binary-generic and derive have been confirmed to work with Cloud Haskell; the status of the other packages is unknown -- YMMV (please feel free to update this wiki page if you have more information).