[Haskell-cafe] Three Google Summer of Code project proposals

Johan Tibell johan.tibell at gmail.com
Sun Mar 27 13:16:32 CEST 2011


On Sun, Mar 27, 2011 at 1:03 PM, Andrew Coppin
<andrewcoppin at btinternet.com> wrote:
>> *** Build multiple Cabal packages in parallel ***
>> http://hackage.haskell.org/trac/summer-of-code/ticket/1594
>>
>> Many developers have multi-core machines but Cabal runs the build
>> process in a single thread, only making use of one core. If the build
>> process could be parallelized build times could be cut by perhaps a
>> factor of 2-8, depending on the number of cores and opportunity of
>> parallel execution available.
>
> Isn't the Cabal build process strictly I/O-limited rather than CPU-limited?

It's mostly CPU-limited due to spending most of its time in ghc --make
(which is CPU limited). It would be nice to parallelize GHC itself at
some point but that's a harder task I believe.

Johan



More information about the Haskell-Cafe mailing list