[Haskell-cafe] Write Haskell as fast as C. [Was: Re: GHC predictability]

Mattias Bengtsson moonlite at dtek.chalmers.se
Thu May 15 14:56:51 EDT 2008


On Thu, 2008-05-15 at 11:31 -0700, Don Stewart wrote:
> I've written an extended post on how to understand and reliably optimise
> code like this, looking at it all the way down to the assembly.
> 
> The result are some simple rules to follow for generated code as good
> as gcc -O2.
> 
> Enjoy,
> 
>     http://cgi.cse.unsw.edu.au/~dons/blog/2008/05/16#fast

A good read. 

Side point: Is the name "go" part of the idiom you mentioned? I
sometimes use the same practise but usually just calls the worker the
same as the real function with an added prime (').
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20080515/f064984e/attachment.bin


More information about the Haskell-Cafe mailing list