I'm learning Haskell and I'd like to write some multithreaded programs now to see the performance gains from that in a functional language. I can find some references to it on the internet but never a proper introduction to it. Can anyone point me to a guide wh开发者_如何学Cich is understandable for someone who knows the syntax fairly well, but is not a wizard in Haskell?
I gave a 3 hour course on this topic at DEFUN 2009. The slides and code are online: Multicore Haskell Now!
Have you read Real Word Haskell?
http://book.realworldhaskell.org/read/concurrent-and-multicore-programming.html
I think the paper "A Tutorial on Parallel and Concurrent Programming in Haskell" is the perfect starting point for you. You can find it here:
http://research.microsoft.com/en-us/um/people/simonpj/papers/parallel/index.htm
精彩评论