[Haskell-cafe] Re: speed: ghc vs gcc
Bulat Ziganshin
bulat.ziganshin at gmail.com
Fri Feb 20 17:52:28 EST 2009
Hello Thomas,
Saturday, February 21, 2009, 1:41:24 AM, you wrote:
> You need look no further than the debian language shootout that things
> really aren't as bad as you're making out √ Haskell comes in in
> general less than 3x slower than gcc compiled C.
you should look inside these tests, as i done :)
most of these tests depends on libraries speed. in one test, PHP is
1st. from 2 or 3 tests that depends on compiler speed, one was fooled
by adding special function readInt to ghc libs and the rest are
written in low-level haskell code - look the sources
> Of note, of all the managed languages, this is about the fastest √
> none of the other languages that offer safety and garbage collection
> etc get as close as Haskell does.
i'm sorry, but this test only shows amount of work spent to optimize
these programs. results of some tests was made 10-100 times better,
while improving real programs performance needs much more work :)
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-Cafe
mailing list