<?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: Fab Fib</title>
	<atom:link href="http://basildoncoder.com/blog/2008/01/26/fab-fib/feed/" rel="self" type="application/rss+xml" />
	<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/</link>
	<description>Incoherent and disjointed opinionated drivel from somewhere near London</description>
	<lastBuildDate>Sat, 21 Aug 2010 02:05:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: the-free-energy</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-18420</link>
		<dc:creator>the-free-energy</dc:creator>
		<pubDate>Tue, 01 Dec 2009 12:15:10 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-18420</guid>
		<description>Omg, I must say this is truly owning... Thanks for giving such a nice read, you made my day.</description>
		<content:encoded><![CDATA[<p>Omg, I must say this is truly owning&#8230; Thanks for giving such a nice read, you made my day.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eli</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-9781</link>
		<dc:creator>Eli</dc:creator>
		<pubDate>Wed, 11 Mar 2009 02:35:38 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-9781</guid>
		<description>Trevor,

While that function works and is O(n), the Haskell example can generate all Integer (bignum) values in the fibonacci sequence, limited only by system RAM.</description>
		<content:encoded><![CDATA[<p>Trevor,</p>
<p>While that function works and is O(n), the Haskell example can generate all Integer (bignum) values in the fibonacci sequence, limited only by system RAM.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Trevor Bernard</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-620</link>
		<dc:creator>Trevor Bernard</dc:creator>
		<pubDate>Mon, 24 Mar 2008 16:28:38 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-620</guid>
		<description>The Haskell implementation is just a little dynamic programming. It can easily but not quite as elegantly be done in any procedural language.
 
int fib[50];
fib[0] = 0;
fib[1] = 1;
for(int i=2; i&lt;50; i++) {
    fib[i] = fib[i-2] + fib[i-1];
}</description>
		<content:encoded><![CDATA[<p>The Haskell implementation is just a little dynamic programming. It can easily but not quite as elegantly be done in any procedural language.</p>
<p>int fib[50];<br />
fib[0] = 0;<br />
fib[1] = 1;<br />
for(int i=2; i&lt;50; i++) {<br />
    fib[i] = fib[i-2] + fib[i-1];<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: russ</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-71</link>
		<dc:creator>russ</dc:creator>
		<pubDate>Sun, 27 Jan 2008 17:11:09 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-71</guid>
		<description>Hi Scott, fancy seeing you here! No worries about the error - it&#039;s surprisingly common to see the base cases mistyped in Fibonacci generators. In fact, the Haskell solution I discuss here actually had a similar mistake in the comment on your post, starting the list with 1 : 1 rather than 0 : 1 - strictly speaking, the sequence should start with 0. Keep up the good work with the Weekly Source Code, it&#039;s an excellent series and very useful too.</description>
		<content:encoded><![CDATA[<p>Hi Scott, fancy seeing you here! No worries about the error &#8211; it&#8217;s surprisingly common to see the base cases mistyped in Fibonacci generators. In fact, the Haskell solution I discuss here actually had a similar mistake in the comment on your post, starting the list with 1 : 1 rather than 0 : 1 &#8211; strictly speaking, the sequence should start with 0. Keep up the good work with the Weekly Source Code, it&#8217;s an excellent series and very useful too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: russ</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-70</link>
		<dc:creator>russ</dc:creator>
		<pubDate>Sun, 27 Jan 2008 17:04:54 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-70</guid>
		<description>Hi Don, thanks for the link! The parallel implementations are interesting, though they seem to me to be more an exercise in demonstrating Haskell&#039;s parallel capabilities since they stick to the naive recursive approach. What I love about the zipWith solution is how it performs so well whilst retaining most of the elegance of the naive recursive solution.</description>
		<content:encoded><![CDATA[<p>Hi Don, thanks for the link! The parallel implementations are interesting, though they seem to me to be more an exercise in demonstrating Haskell&#8217;s parallel capabilities since they stick to the naive recursive approach. What I love about the zipWith solution is how it performs so well whilst retaining most of the elegance of the naive recursive solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Hanselman</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-67</link>
		<dc:creator>Scott Hanselman</dc:creator>
		<pubDate>Sat, 26 Jan 2008 18:43:17 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-67</guid>
		<description>It&#039;s funny, I did a Haskell one in college and considered it for this post, but it was getting pretty long (the post) so I didn&#039;t. Thanks for fixing my error and for a great writeup!</description>
		<content:encoded><![CDATA[<p>It&#8217;s funny, I did a Haskell one in college and considered it for this post, but it was getting pretty long (the post) so I didn&#8217;t. Thanks for fixing my error and for a great writeup!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Don Stewart</title>
		<link>http://basildoncoder.com/blog/2008/01/26/fab-fib/comment-page-1/#comment-66</link>
		<dc:creator>Don Stewart</dc:creator>
		<pubDate>Sat, 26 Jan 2008 18:19:53 +0000</pubDate>
		<guid isPermaLink="false">http://basildoncoder.com/blog/2008/01/26/fab-fib/#comment-66</guid>
		<description>You might be interested in the collected Haskell fibonacci
implementations here: http://haskell.org/haskellwiki/The_Fibonacci_sequence
which includes neat, concise ones, and parallel ones that will use all
your cores.</description>
		<content:encoded><![CDATA[<p>You might be interested in the collected Haskell fibonacci<br />
implementations here: <a href="http://haskell.org/haskellwiki/The_Fibonacci_sequence" rel="nofollow">http://haskell.org/haskellwiki/The_Fibonacci_sequence</a><br />
which includes neat, concise ones, and parallel ones that will use all<br />
your cores.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.800 seconds -->
