[Haskell-cafe] Operational Semantics of Haskell
Donald Bruce Stewart
dons at cse.unsw.edu.au
Tue Jul 31 21:42:22 EDT 2007
darrelll:
>
> Is there a good source for the operational semantics of
> Haskell? I am trying to squeeze the most efficiency out of
> a bit of code and am looking to remove unnecessary
> reductions.
The best thing is to look at the tricks on the performance wiki,
http://haskell.org/haskellwiki/Performance
The most useful tools are profiling (ghc -O2 -prof -auto-all ; then run
./a.out with +RTS -p), and reading the intermediate Core GHC produces.
-- Don
More information about the Haskell-Cafe
mailing list