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

Manlio Perillo manlio_perillo at libero.it
Sat Feb 21 07:52:58 EST 2009


Bulat Ziganshin ha scritto:
> [...]
> but problem - not mine, but for haskellers, is that some people said
> that ghc can generate code that is as fast as gcc one. it will be
> stupid if someone will start to write say mpeg4 codec and after year
> of work will find that it need 100 Ghz cpu to work.

IMHO, a more viable solution is to write the *parser* in GHC, but use 
the raw code written in C.

As an example, I get some problems from mplayer, not caused by the 
codec, but by the demuxer and stream parsing.




Manlio Perillo


More information about the Haskell-Cafe mailing list