[Haskell-cafe] Re: speed: ghc vs gcc
John Meacham
john at repetae.net
Fri Feb 20 19:07:12 EST 2009
On Fri, Feb 20, 2009 at 11:51:43PM +0100, Thomas Davie wrote:
>> of course. what fool will say that ghc cannot be optimized the same
>> way as gcc? if we spent the same amount of time for improving ghc
>> back-end as was spent for gcc (tens or hundreds man-years?), then
>> *low-level* Haskell code will become as fast as C one, while remaining
>> several times slower to write
>
> Considering Haskell compilers have lots more guarenteed conditions to go
> on (like referential transparency etc), I'd imagine actually that given
> the same amount of effort, they could compile Haskell code to *much*
> faster code than C.
Indeed. This is my thesis and jhc is my constructive proof (in progress)
of said thesis. :)
John
--
John Meacham - ⑆repetae.net⑆john⑈
More information about the Haskell-Cafe
mailing list