[Haskell-cafe] Re: speed: ghc vs gcc

Daniel Fischer daniel.is.fischer at web.de
Sat Feb 21 19:11:19 EST 2009

Am Sonntag, 22. Februar 2009 00:50 schrieb Bulat Ziganshin:
> Hello Daniel,
> Sunday, February 22, 2009, 2:36:57 AM, you wrote:
> > You're referring to the freak result of Dan Doel?
> > Come on, be serious, please. I have a Haskell result that runs in 7ms,
> > too. Just use a rewrite rule and hey presto :)
> Dan, why you have not said the same about test where ghc becomes 4x
> faster than gcc?

Because, as has been explained several times to you, it was not a test of 
ghc's code generation vs. gcc's, and it was NOT meant to be. It was 
explicitely an investigation of how effective an improvement loop-unrolling 
could be.

> > Bulat, your obsession has become obnoxious and ridiculous.
> i really, really wonder why cheating on gcc side is "obsession that
> become obnoxious and ridiculous" while cheating on ghc side is ok for
> you. can you explain?


You have one case where gcc calculated the result for an extremely simple 
programme during the compilation and you use that to say that gcc's code is 
routinely 50-150 times faster than ghc's. Very convincing.

More information about the Haskell-Cafe mailing list