[Haskell-cafe] Re: Problems with threading?

2010-06-15 Thread Simon Marlow

On 12/06/2010 02:48, Don Stewart wrote:

igouy2:


parallel, regex-posix, regex-pcre are now installed and the current
compile errors are caused by the programs not the absence of required
libraries -

http://shootout.alioth.debian.org/u64q/program.php?test=binarytrees&lang=ghc&id=2#log

http://shootout.alioth.debian.org/u64q/program.php?test=binarytrees&lang=ghc&id=3#log

http://shootout.alioth.debian.org/u64q/program.php?test=regexdna&lang=ghc&id=4#log

http://shootout.alioth.debian.org/u64q/program.php?test=regexdna&lang=ghc&id=1#log


Great work!

For those keen to help out the Haskell programs, both compile failures
in regexdna and binarytrees are related to the change in how parallel
strategies work, as described here.

 
http://hackage.haskell.org/packages/archive/parallel/2.2.0.1/doc/html/Control-Parallel-Strategies.html


Change rnf to rdeepseq, that should fix it.

Cheers,
Simon

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Re: Problems with threading?

2010-06-08 Thread Tom Pledger
Louis Wasserman  gmail.com> writes:
> 
> While working on the Shootout, I noticed the following benchmarks:
> 
>
http://shootout.alioth.debian.org/u64/program.php?test=chameneosredux&lang=ghc&id=3
>
http://shootout.alioth.debian.org/u64q/program.php?test=chameneosredux&lang=ghc&id=3
[...]
> I'd like to see it improved.
[...]


One difficulty is that the single meeting place is a bottleneck.  The only
parallel activity I can see for the chameneos creatures is standing around in
queues.


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe