On Tuesday 08 December 2009 18:24:30 John Cowan wrote:
> On Tue, Dec 8, 2009 at 9:53 AM, Jon Harrop <[email protected]> wrote:
> > If you want JVM+TCO then you should already be able to use OpenJDK.
> > Another forthcoming option may be VMKit, which is a JVM and CLR built
> > upon LLVM (which provides TCO so it should be relatively easy to add if
> > it has not been done already). Or, of course, use or build a completely
> > different VM already provides TCO...
>
> LLVM provides it only on certain hardwares,

LLVM's TCO is fully functional on x86 and x64 but I'm not sure about DEC 
Alpha, ARM, Blackfin, Cell, MIPS, CIL, MSP430, 16-bit PIC, PowerPC, Sparc and 
XCore.

> and I believe it optimizes only tail recursion, not general tail calls. 

No, that is definitely incorrect. TCO was very important to me when I was 
trying to choose a foundation to build upon and I carefully tested several 
options including the JVM, Mono and LLVM. LLVM was the only choice to offer 
real TCO at the time. AFAIK, OpenJDK now offers full TCO (implemented by the 
same guy) and Mono's implementation is still fundamentally broken.

-- 
Dr Jon Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/?e

--

You received this message because you are subscribed to the Google Groups "JVM 
Languages" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jvm-languages?hl=en.


Reply via email to