[Haskell-cafe] Haskell on the JVM

Simon Peyton-Jones simonpj at microsoft.com
Mon Oct 27 06:58:11 EDT 2008

Is there an interest in hosting GHC on the JVM (besides my own).

There's interest but my understanding is that the GHC backend architecture is not at all friendly to work with.  That said, I hear in the next release (I think 6.12, not the 6.10 that's in beta) will have a redesigned backend architecture that is supposed to be much easier to work with, which will make it easier to provide native code generators for many currently poorly-served platforms --- including the JVM if anyone is so inclined.

I don't think it's so hard to translate GHC's Core language to the JVM.  Apart from the treatment of tail recursion, for which various hacks are available.  Eg Scala manages it.  I don't think you want the C-- level (which is what the "redesigned back end" is about).

However, there's more to it than generating bytecode:


It'd be a good project though!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081027/5dab8238/attachment.htm

More information about the Haskell-Cafe mailing list