[Haskell-cafe] Automatic parallelism in Haskell, similar to "make -j4"?

T Willingham t.r.willingham at gmail.com
Sun Nov 2 19:42:49 EST 2008


On Sun, Nov 2, 2008 at 6:44 PM, Bulat Ziganshin
<bulat.ziganshin at gmail.com> wrote:
>> What would it take to implement a -j equivalent for, say, GHC?  Or if
>> this is not possible, what is wrong with my reasoning?
>
> problem is that make have rather large pices of work which it can run
> parallel. if ghc will try to parallel every machine operation, it will
> pend more time maintaining these jobs. 'par' is just the way to tell
> GHC "this part of job is large enough"

Right, but couldn't the Haskell complier+runtime discover "rather
large pieces of work"?


More information about the Haskell-Cafe mailing list