[Haskell-cafe] Benchmarks game updated to ghc 6.12.2

Jason Dagit dagit at codersbase.com
Thu Apr 29 11:35:39 EDT 2010

On Thu, Apr 29, 2010 at 12:38 AM, Ketil Malde <ketil at malde.org> wrote:

> Don Stewart <dons at galois.com> writes:
> > http://shootout.alioth.debian.org/u64q/haskell.php
> Observations:
> Although we're mostly beaten on speed, and about the same on code size,
> we're using a lot less memory than Java.
> As for code size, the programs are heavily tuned for speed.  Although it
> is nice to show that we can indeed be fast, Haskell's forte is being
> almost as fast while clear and compact.  Is it an idea to go back a few
> steps to more idiomatic code?  Perhaps as a separate "track"?  I also
> worry a bit that source code optimization for a specific compiler makes
> it more difficult to take advantage of compiler optimization
> improvements.

I was thinking the same thing with regard to the code being idiomatic
Haskell.  Then I took a look at the top entry (in GCC C), which has special
malloc/free functions to achieve cache alignment.  Then I realized just how
nice the current Haskell version is :)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100429/c4133d41/attachment.html

More information about the Haskell-Cafe mailing list