
John Meacham wrote:
On Tue, Jun 27, 2006 at 02:58:05PM +0100, Simon Marlow wrote:
.. (and jhc already generates native C code, so it will have at least one substantial advantage over GHC) ...
Compiling via C is a dead end. We realised this about 5 years ago, and yet we still haven't managed to shake off the C backend from GHC, but I remain hopeful that one day we will. /me heads for the cafe...
Out of curiosity, compiling via C as opposed to what? c--? Parrot? JVM?
C-- ultimately, but in the meantime GHC's built in native-code generator. Our NCG is quite reasonable, and we plan to push it forward in various ways to improve the generated code. There's a wiki page with some ideas: http://hackage.haskell.org/trac/ghc/wiki/BackEndNotes Cheers, Simon