> "but in practice there are really few scenarios in which it is actually useful"
Not true. Parallel mapping is a useful tool for multi-core systems. Clojure (and other languages) include a `pmap` because it provides a simple, elegant way to do parallel computation.
If you want parallel mapping with more control, check out Claypoole:
> Basically, we just wanted a better pmap. Clojure’s pmap is pretty awesome, but we wanted to be able to control the number of threads we were using, and it was nice to get a few other bonus features.
> "but in practice there are really few scenarios in which it is actually useful"
Not true. Parallel mapping is a useful tool for multi-core systems. Clojure (and other languages) include a `pmap` because it provides a simple, elegant way to do parallel computation.
If you want parallel mapping with more control, check out Claypoole:
> Basically, we just wanted a better pmap. Clojure’s pmap is pretty awesome, but we wanted to be able to control the number of threads we were using, and it was nice to get a few other bonus features.
http://eng.climate.com/2014/02/25/claypoole-threadpool-tools...
HN commentary: https://news.ycombinator.com/item?id=7299309