Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-07 Thread Donald Bruce Stewart
clawsie: > i recently saw a (yet-another) benchark comparing various languages: > > http://www.timestretch.com/FractalBenchmark.html > > while no haskell example was listed, i thought i would try a naive > implementation myself for comparison. it is available here: > > http://www.b7j0c.org/dev/h

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Andrew Coppin
Donald Bruce Stewart wrote: Some things to remember using Doubles: * {-# OPTIONS -fexcess-precision #-} * -fvia-C * -fbang-patterns * -optc-O2 -optc-mfpmath=sse -optc-msse2 * -optc-march=pentium4 1. What do all those things do? 2. Is the effect actually that large? __

RE: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Bayley, Alistair
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin > > Donald Bruce Stewart wrote: > > Some things to remember using Doubles: > > > > * {-# OPTIONS -fexcess-precision #-} > > * -fvia-C > > * -fbang-patterns > > * -optc-O2 -optc-mfpmath=sse -optc-msse2 > > * -optc-march=pen

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Donald Bruce Stewart
andrewcoppin: > Donald Bruce Stewart wrote: > >Some things to remember using Doubles: > > > >* {-# OPTIONS -fexcess-precision #-} > >* -fvia-C > >* -fbang-patterns > >* -optc-O2 -optc-mfpmath=sse -optc-msse2 > >* -optc-march=pentium4 > > > > 1. What do all those things do?

RE: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Bayley, Alistair
> [mailto:[EMAIL PROTECTED] On Behalf Of Donald > Bruce Stewart > > 3) -fbang-patterns > > Better than `seq` Better in the "more convenient to write" sense, right? AFAIUI, seq and bang patterns should be equivalent. Alistair * Con

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Donald Bruce Stewart
Alistair_Bayley: > > [mailto:[EMAIL PROTECTED] On Behalf Of Donald > > Bruce Stewart > > > > 3) -fbang-patterns > > > > Better than `seq` > > Better in the "more convenient to write" sense, right? AFAIUI, seq and > bang patterns should be equivalent. > Yes, in the 'more convenient' sense. Add

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Andrew Coppin
Bayley, Alistair wrote: [mailto:[EMAIL PROTECTED]] On Behalf Of Andrew Coppin Donald Bruce Stewart wrote: Some things to remember using Doubles: * {-# OPTIONS -fexcess-precision #-} * -fvia-C * -fbang-patterns * -optc-O2 -optc-mfpmath=sse -optc-msse2

RE: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Simon Peyton-Jones
3) -fbang-patterns Better than `seq` Do you mean "more convenient than" or "generates better code than". I don't think the latter should be true; send a counterexample if you find one! Simon ___ Haskell-Cafe mailing list Haskell-Caf

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Scott Cruzen
* Andrew Coppin <[EMAIL PROTECTED]> [070608 02:45]: >Bayley, Alistair wrote: > > [[1]mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin > > Donald Bruce Stewart wrote: > > Some things to remember using Doubles: > > * {-# OPTIONS -fexcess-precision #-} > * -fvia-C > * -fbang-pat

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Donald Bruce Stewart
sic: > * Andrew Coppin <[EMAIL PROTECTED]> [070608 02:45]: > >Bayley, Alistair wrote: > > > > [[1]mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin > > > > Donald Bruce Stewart wrote: > > > > Some things to remember using Doubles: > > > > * {-# OPTIONS -fexcess-precision #-} > > *

Re: [Haskell-cafe] haskell version of fractal benchmark

2007-06-08 Thread Donald Bruce Stewart
dons: > sic: > > * Andrew Coppin <[EMAIL PROTECTED]> [070608 02:45]: > > >Bayley, Alistair wrote: > > > > > > [[1]mailto:[EMAIL PROTECTED] On Behalf Of Andrew Coppin > > > > > > Donald Bruce Stewart wrote: > > > > > > Some things to remember using Doubles: > > > > > > * {-# OPTIONS -fex