Before Haskell took off with parallelism, it was assumed that Haskell would be trivial to run concurrently on cores because majority of Haskell programs were pure, so you could simply run different functions on different cores and string the results together when your done
Don Stewart <dons <at> galois.com> writes:Yes. I understand that's only part of what the original poster wanted,
> Note that DPH is a programming model, but the implementation currently
> targets shared memory multicores (and to some extent GPUs), not
> distributed systems.
but I'd sure want to use ghc-generated code on a (non-distributed) GPU.
I keep telling students and colleagues that functional/declarative code
"automatically" parallelizes, with basically "no extra effort"
from the programmer (because it's all in the compiler) - but I would
feel better with some real code and benchmarks to back that up.
GPU computing via ghc could be a huge marketing opportunity -
if it works, it should be all over the front page of haskell.org?
J.W.
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe