On Thu, Apr 29, 2010 at 12:38 AM, Ketil Malde <ke...@malde.org> wrote:
> > Don Stewart <d...@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 :) Jason
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe