[Haskell-cafe] Code generation and optimisation for compiling Haskell
dagitj at gmail.com
Fri Jan 13 02:50:18 CET 2012
On Tue, Jan 10, 2012 at 9:25 AM, Steve Horne
<sh006d3592 at blueyonder.co.uk> wrote:
> Also, what papers should I read? Am I on the right lines with the ones I've
> mentioned above?
Thomas Schilling gave you a good response with papers so I will give
you a different perspective on where to look.
Most of the Haskell implementations were written by academics studying
languages and compilers. This is good but it also implies that the
implementors are likely to share biases and assumptions. I know of
one Haskell compiler in particular that was written by someone who did
not know Haskell when starting the project. The compiler was
developed to be different than GHC. That person was John Meacham. He
created JHC, a work in progress, so you might want to study his
compiler and implementation notes as they should provide a different
perspective on how to tackle Haskell implementation and optimization.
I hope that helps,
More information about the Haskell-Cafe