
On Fri, Jun 26, 2009 at 7:12 AM, David Leimbach
There has been a scheme with tail recursion on the JVM for a long time IIRC. SISC right?
Ah SISC is interpreted. Clojure is compiled. At least that may be the key difference to making it work or not.
At least I am fairly certain it does. On Friday, June 26, 2009, Timo B. Hübel
wrote: Incidentally, I am looking for someone well versed in the JVM who wants to help spearhead a JVM back end for jhc.
I would love to see this! With the current advent of all those languages targeting at the JVM (Groovy, Scala, Clojure) I think a JVM backend for a Haskell compiler could, together with proper Java interop, make for a major breakthrough of Haskell in general.
Unforunately, as I can tell from my halfknowledge, the JVM lacks some important functionality required for properly targeting functional language features on the JVM.
And here comes my question: If there is anybody with proper knowledge about this issue, I would really like to know what are those things that are missing? For example, Clojure lacks proper tail recrusion optimization due to some missing functionality in the JVM. But does anybody know the details?
Thanks, Timo _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe