[Haskell-cafe] Re: Don't “accidentallyparallelize”

Gracjan Polak gracjanpolak at gmail.com
Sun Sep 6 04:49:20 EDT 2009


Dan Doel <dan.doel <at> gmail.com> writes:
> On Sunday 06 September 2009 2:18:31 am David Menendez wrote:
> > 
> > It turns out, pseq limits the effectiveness of strictness analysis,
> > because it forces the order of evaluation. John Meacham described this
> > pretty well last week in the Haskell' list
> > <http://www.haskell.org/pipermail/haskell-prime/2009-August/003006.html>.
> 
> Interesting. I hadn't thought of this before, but it certainly makes sense.

Thank to all of you! This thread is fascinating! :)

I used `seq` to duct tape my space leaks and stack overflow issues. Now
looked for `pseq` for parallelism. And I think I understand enough to use
both reasonably.

Thanks!
Gracjan



More information about the Haskell-Cafe mailing list