[Haskell-cafe] Haskell/JDK/tail-calls etc. (please vote on bug No.
malcolm.wallace at me.com
Mon Sep 20 05:39:31 EDT 2010
Compiling haskell for the JVM has been done before, several times. Sometimes even inside GHC.
See for instance
Even if tail recursion is not properly supported, I've never really
understood why this is an *total* impediment to getting it working on
the JVM. I mean, yes it sucks, but there are ways to do it anyway
(trampolining for one). They are usually _slow_ methods (which
trampoline is), but if it's the difference between being able to run
on the JVM and not, you would think that someone would think running
on JVM slowly is better than not running on it at all...
Maybe that's not the case though, maybe it would actually be bad for
Haskell's rep to run slowly on JVM compared to other languages.
-------------- next part --------------
Skipped content of type multipart/related
More information about the Haskell-Cafe