[Haskell-cafe] Parallel ghc --make

Clark Gaebel cgaebel at uwaterloo.ca
Thu May 16 04:29:10 CEST 2013


Oh! That works quite nicely.

It's not supported for install-deps. I assumed that it just wasn't
implemented.

I should open a ticket.

Thanks!
  - Clark

On Wednesday, May 15, 2013, Clark Gaebel wrote:

> It's also useful to note that the disk cache might do a surprisingly good
> job at caching those .hi files for you. That, and a lot of people (like
> me!) use SSDs, where the parallel compilation takes the vast majority of
> time.
>
> I'd be really excited to see parallel ghc --make.
>
> By the way, totally unrelated, but why does cabal support -j when
> cabal-dev doesn't?
>
>   - Clark
>
> On Wednesday, May 15, 2013, Niklas Hambüchen wrote:
>
>> Hello Thomas,
>>
>> thanks for your detailed answer.
>>
>> > Could be worthwhile re-evaluating the patch.
>>
>> Does your patch still apply somewhat cleanly?
>> And does it address all the caches in your list already or only some
>> subset of them?
>>
>> > To have a multi-process ghc --make you don't need thread-safety.
>> > However, without sharing the caches -- in particular the interface
>> > file caches -- the time to read data from the disk may outweigh any
>> > advantages from parallel execution.
>>
>> That might be a big step already - I've never seen a project where I'd
>> care about parallel compilation that is not totally CPU-bound.
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20130515/786da485/attachment.htm>


More information about the Haskell-Cafe mailing list