tag:blogger.com,1999:blog-8976990577786961583.post2177625085181036477..comments2023-12-21T17:09:42.587+01:00Comments on Strongly Typed, Loosely Coupled: Scala Tail RecursionNick Wiedenbrückhttp://www.blogger.com/profile/08284848227891035967noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8976990577786961583.post-52978598540830828052011-11-23T08:13:10.121+01:002011-11-23T08:13:10.121+01:00Nick,
Thanks for the blog. Here is my own recursi...Nick,<br /><br />Thanks for the blog. Here is my own recursion blog. http://blog.aunndroid.com/2011/11/learning-scala-recursion-and-tco-1.htmlWin Myo Htethttps://www.blogger.com/profile/12932751895421525726noreply@blogger.comtag:blogger.com,1999:blog-8976990577786961583.post-39838353665487219952010-05-25T13:00:21.230+02:002010-05-25T13:00:21.230+02:00@Leonel: The JVM bytecode is at a relatively high...@Leonel: The JVM bytecode is at a relatively high level with a sophisticated security model, so compilers can't do this "low-level" optimization. There are various workarounds that work well for certain kinds of things, but general tail calls would require changes to the JVM bytecode.Anonymoushttps://www.blogger.com/profile/02888491281001274822noreply@blogger.comtag:blogger.com,1999:blog-8976990577786961583.post-23295729954268305262009-08-19T18:13:49.682+02:002009-08-19T18:13:49.682+02:00Does it really make sense to expect tail call opti...Does it really make sense to expect tail call optimizations from the JVM ?<br /><br />After all, the JVM, although virtual, is a *machine*. Tail call optimizations are usually handled at a higher level by the compiler, like the scala compiler does, not by a CPU.<br /><br />It's not only more usual, it's also easier for the compiler to output optimized bytecode than for the JVM to make Leonelhttps://www.blogger.com/profile/11752638222637865917noreply@blogger.comtag:blogger.com,1999:blog-8976990577786961583.post-82050275042647654952009-08-19T09:55:14.404+02:002009-08-19T09:55:14.404+02:00Added a link to a proposal for tail call optimizat...Added a link to a proposal for tail call optimization on the JVM. See Resources section.Nick Wiedenbrückhttps://www.blogger.com/profile/08284848227891035967noreply@blogger.comtag:blogger.com,1999:blog-8976990577786961583.post-53502169728328927152009-08-19T00:45:56.971+02:002009-08-19T00:45:56.971+02:00Wow.. one would have thought Java JVM would do tai...Wow.. one would have thought Java JVM would do tail recursive optimization by now...Anonymoushttps://www.blogger.com/profile/17002578166283757395noreply@blogger.com