[Haskell-cafe] saner shootout programs

J C jhc0033 at gmail.com
Tue May 13 00:26:46 EDT 2008

On Mon, May 12, 2008 at 4:38 AM, Richard Kelsall
<r.kelsall at millstream.com> wrote:

>  Hello JC, I think you've set yourself a challenge there :) Welcome to
>  Haskell programming. Taking a Shootout entry and playing with it is
>  a great way to learn Haskell. The Shootout provides an example in your
>  favourite previous language for comparison and a small well defined
>  program with exact test results you can pit your wits against. Fame
>  awaits you for a fast and beautiful entry. I'm still learning useful
>  things from the Fasta benchmark. It's surprising how many interesting
>  things you can discover in a small piece of code.

It may be fun, but I don't think it would be meaningful. My code will
be, most likely, slow, leaving some doubt as to whether it's slow
because of the limitations of the compiler or my inexperience.

On the other hand, if the experts can't help using malloc, unsafe*,
global mutables and IO, I'll be able to conclude that this is probably
what it takes to make Haskell run fast :-(

More information about the Haskell-Cafe mailing list