On Apr 4, 4:14 am, Robert Fischer <robert.fisc...@smokejumperit.com> wrote: > As has been stated on this very thread a number of times, at least the major > functional languages > have already dealt with tail call recursion, often via trampolines. So while > Java might stack > overflow on tail call recursions, Scala, Kawa, and Clojure won't.
You may be interested in a recent blog post I wrote that discusses tail calls in Scala. The compiler is able to optimise certain classes of tail calls, but care must still be taken by the programmer. http://blog.richdougherty.com/2009/04/tail-calls-tailrec-and-trampolines.html Cheers Rich --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---