<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: String reversing Part II: Tail Recursion</title>
	<atom:link href="http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/feed/" rel="self" type="application/rss+xml" />
	<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/</link>
	<description></description>
	<lastBuildDate>Tue, 03 Jan 2012 15:08:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Javier Mena</title>
		<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/comment-page-1/#comment-148015</link>
		<dc:creator>Javier Mena</dc:creator>
		<pubDate>Tue, 12 Aug 2008 19:52:13 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/11/12/string-reversing-part-ii-tail-recursion/#comment-148015</guid>
		<description>I was intensive tail recursion use in java, but I &quot;discovered&quot; that sun jvm (at least for java 1.5) doesn&#039;t optimizes for tail recursion.

Try to implement a recursive fact with a large number, and it will raise a stack overflow exception.

There are many developers that don&#039;t understand tail recursion. :(</description>
		<content:encoded><![CDATA[<p>I was intensive tail recursion use in java, but I &#8220;discovered&#8221; that sun jvm (at least for java 1.5) doesn&#8217;t optimizes for tail recursion.</p>
<p>Try to implement a recursive fact with a large number, and it will raise a stack overflow exception.</p>
<p>There are many developers that don&#8217;t understand tail recursion. :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: moose56 blog &#187; Blog Archive &#187; Java string reverse methods analysed</title>
		<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/comment-page-1/#comment-50983</link>
		<dc:creator>moose56 blog &#187; Blog Archive &#187; Java string reverse methods analysed</dc:creator>
		<pubDate>Fri, 25 Jan 2008 13:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/11/12/string-reversing-part-ii-tail-recursion/#comment-50983</guid>
		<description>[...] A Recursive version from here [...]</description>
		<content:encoded><![CDATA[<p>[...] A Recursive version from here [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/comment-page-1/#comment-39274</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Fri, 16 Nov 2007 06:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/11/12/string-reversing-part-ii-tail-recursion/#comment-39274</guid>
		<description>;-)</description>
		<content:encoded><![CDATA[<p>;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Holland</title>
		<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/comment-page-1/#comment-39272</link>
		<dc:creator>Jonathan Holland</dc:creator>
		<pubDate>Fri, 16 Nov 2007 06:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/11/12/string-reversing-part-ii-tail-recursion/#comment-39272</guid>
		<description>Hi Stephan,

Kudo&#039;s for following up with the tail recursion example. Personally, unless your a LISPer, I find that tail recursive solutions are better expressed iteratively.

But thats just my opinion, and its been considered faulty before :)</description>
		<content:encoded><![CDATA[<p>Hi Stephan,</p>
<p>Kudo&#8217;s for following up with the tail recursion example. Personally, unless your a LISPer, I find that tail recursive solutions are better expressed iteratively.</p>
<p>But thats just my opinion, and its been considered faulty before :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stephan</title>
		<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/comment-page-1/#comment-38964</link>
		<dc:creator>stephan</dc:creator>
		<pubDate>Wed, 14 Nov 2007 18:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/11/12/string-reversing-part-ii-tail-recursion/#comment-38964</guid>
		<description>Reading through lambda the ultimate some compilers seem to automatically change recursion to tail recursion, so the beauty in the source is preserved. But I&#039;m no specialist in functional programming.</description>
		<content:encoded><![CDATA[<p>Reading through lambda the ultimate some compilers seem to automatically change recursion to tail recursion, so the beauty in the source is preserved. But I&#8217;m no specialist in functional programming.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mccoyn</title>
		<link>http://codemonkeyism.com/string-reversing-part-ii-tail-recursion/comment-page-1/#comment-38958</link>
		<dc:creator>mccoyn</dc:creator>
		<pubDate>Wed, 14 Nov 2007 18:22:14 +0000</pubDate>
		<guid isPermaLink="false">http://stephan.reposita.org/archives/2007/11/12/string-reversing-part-ii-tail-recursion/#comment-38958</guid>
		<description>I agree, tail recursion optimizations take the beauty out of recursion.  Some things can be solved very beautifully with recursion until you realize the stack frame or speed implications make it an unscaleable solution.

I know a lot of interpreted languages represent the stack as a linked list, or even a linked tree.  This gets around the limits on stack space, but makes function calls a little slower.  

I haven&#039;t seen any compliers that attempt to make recursion faster other than with the tail-recursion optimization.</description>
		<content:encoded><![CDATA[<p>I agree, tail recursion optimizations take the beauty out of recursion.  Some things can be solved very beautifully with recursion until you realize the stack frame or speed implications make it an unscaleable solution.</p>
<p>I know a lot of interpreted languages represent the stack as a linked list, or even a linked tree.  This gets around the limits on stack space, but makes function calls a little slower.  </p>
<p>I haven&#8217;t seen any compliers that attempt to make recursion faster other than with the tail-recursion optimization.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (user agent is rejected)
Database Caching 6/16 queries in 0.028 seconds using disk

Served from: codemonkeyism.com @ 2012-02-04 06:35:11 -->
