[Haskell-cafe] benchmarking c/c++ and haskell

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Thu Sep 16 12:26:43 EDT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 9/15/10 06:41 , Daniel Fischer wrote:
> play a role. Since ghc fares pretty well on 64-bit linux (David Terei and 
> Don), both, via the NCG and via C, it seems its 64-bit code generator is 
> better than its 32-bit code generator :(

amd64 has more registers; IIRC ghc needs a *lot* of registers to play with
to perform well (TBH *everything* does), so x86 is always going to be behind
the curve.

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkySRUMACgkQIn7hlCsL25XG5QCfWOqBnm/jwFXM9L5cDU33yJiO
JYQAoLnytUMIZ2XHuWKcnin7fEWJk66u
=0FBK
-----END PGP SIGNATURE-----


More information about the Haskell-Cafe mailing list