<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hamsBlog &#187; Programming language</title>
	<atom:link href="http://blog.hamsworld.net/tag/programming-language/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.hamsworld.net</link>
	<description>by Jure Ham</description>
	<lastBuildDate>Sat, 24 Apr 2010 23:53:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Fastest and the Slowest Programming Language</title>
		<link>http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/</link>
		<comments>http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 04:31:17 +0000</pubDate>
		<dc:creator>hamax</dc:creator>
				<category><![CDATA[digital world]]></category>
		<category><![CDATA[science world]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[go]]></category>
		<category><![CDATA[haskell]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[lisp]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming language]]></category>
		<category><![CDATA[prolog]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[scala]]></category>

		<guid isPermaLink="false">http://blog.hamsworld.net/?p=258</guid>
		<description><![CDATA[What can you do when you are to tired to do anything useful but the level of caffeine in your blood is to high for sleeping?
Watching a TV could be a good choice, but who could resist writing a simple Fibonacci recursion in every programming language that you could think of and measuring the calculation [...]]]></description>
			<content:encoded><![CDATA[<p>What can you do when you are to tired to do anything useful but the level of caffeine in your blood is to high for sleeping?</p>
<p>Watching a TV could be a good choice, but who could resist writing a simple <a class="zem_slink" title="Fibonacci" rel="wikipedia" href="http://en.wikipedia.org/wiki/Fibonacci">Fibonacci</a> recursion in every <a class="zem_slink" title="Programming language" rel="wikipedia" href="http://en.wikipedia.org/wiki/Programming_language">programming language</a> that you could think of and measuring the calculation time? I couldn&#8217;t.</p>
<p>So here are the results of my very scientific study for Fibonacci 33</p>
<ol>
<li><a href="http://blog.hamsworld.net/wp-content/uploads/PL/c.txt" target="_blank"><strong>c</strong></a><br />
gcc4.4.1            0.153s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/go.txt" target="_blank">go</a></strong><br />
8g                       0.189s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/java.txt">java</a></strong><br />
1.6.0_15           0.267s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/scala.txt" target="_blank">scala</a></strong><br />
2.7.5                  0.324s</li>
<li>javascript<br />
node.js V8        0.346s</li>
<li><a href="http://blog.hamsworld.net/wp-content/uploads/PL/haskell.txt"><strong>haskell</strong></a><br />
ghc6.10.4         1.675s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/lisp.txt">lisp</a></strong><br />
clisp2.44.1       1.888s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/ruby.txt" target="_blank">ruby<br />
</a></strong>1.8:                     22.614s<br />
1.91:                   2.757s</li>
<li><a href="http://blog.hamsworld.net/wp-content/uploads/PL/python.txt" target="_blank"><strong>python</strong></a><br />
2.6.4:                 4.401s<br />
3.1.1:                  5.545s<br />
cxfreeze4.0.1   5.704s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/php.txt" target="_blank">php</a></strong><br />
5.2.10                10.341s</li>
<li><strong><a href="http://blog.hamsworld.net/wp-content/uploads/PL/prolog.txt">prolog</a></strong><br />
sicstus4.0.2    &gt;10m (didn&#8217;t have patience to wait)<br />
swi5.6.64        Out of local stack</li>
</ol>
<p>I have some more ideas, but caffeine level is dropping fast.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/5727bdf2-df6e-4112-a421-8cad179d895b/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=5727bdf2-df6e-4112-a421-8cad179d895b" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<!-- Social Bookmarking Reloaded BEGIN --><div class="social_bookmark"><em>share</em><br /><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/&amp;title=The+Fastest+and+the+Slowest+Programming+Language" title="Add 'The Fastest and the Slowest Programming Language' to digg"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/digg.png" title="Add 'The Fastest and the Slowest Programming Language' to digg" alt="Add 'The Fastest and the Slowest Programming Language' to digg" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/&amp;title=The+Fastest+and+the+Slowest+Programming+Language" title="Add 'The Fastest and the Slowest Programming Language' to reddit"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/reddit.png" title="Add 'The Fastest and the Slowest Programming Language' to reddit" alt="Add 'The Fastest and the Slowest Programming Language' to reddit" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/&amp;title=The+Fastest+and+the+Slowest+Programming+Language" title="Add 'The Fastest and the Slowest Programming Language' to Google Bookmarks"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/google.png" title="Add 'The Fastest and the Slowest Programming Language' to Google Bookmarks" alt="Add 'The Fastest and the Slowest Programming Language' to Google Bookmarks" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="https://favorites.live.com/quickadd.aspx?url=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/&amp;title=The+Fastest+and+the+Slowest+Programming+Language" title="Add 'The Fastest and the Slowest Programming Language' to Live-MSN"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/live.png" title="Add 'The Fastest and the Slowest Programming Language' to Live-MSN" alt="Add 'The Fastest and the Slowest Programming Language' to Live-MSN" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/share.php?u=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/&amp;t=The+Fastest+and+the+Slowest+Programming+Language" title="Add 'The Fastest and the Slowest Programming Language' to FaceBook"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/facebook.png" title="Add 'The Fastest and the Slowest Programming Language' to FaceBook" alt="Add 'The Fastest and the Slowest Programming Language' to FaceBook" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.myspace.com/Modules/PostTo/Pages/?t=The+Fastest+and+the+Slowest+Programming+Language&amp;c=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/" title="Add 'The Fastest and the Slowest Programming Language' to MySpace"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/myspace.png" title="Add 'The Fastest and the Slowest Programming Language' to MySpace" alt="Add 'The Fastest and the Slowest Programming Language' to MySpace" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://twitter.com/home?status=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/" title="Add 'The Fastest and the Slowest Programming Language' to Twitter"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/twitter.png" title="Add 'The Fastest and the Slowest Programming Language' to Twitter" alt="Add 'The Fastest and the Slowest Programming Language' to Twitter" /></a><a class="social_img" onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,border=0,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://friendfeed.com/share/bookmarklet/frame#title={titleff}&amp;url=http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/" title="Add 'The Fastest and the Slowest Programming Language' to FriendFeed"><img src="http://blog.hamsworld.net/wp-content/plugins/social-bookmarking-reloaded/friendfeed.png" title="Add 'The Fastest and the Slowest Programming Language' to FriendFeed" alt="Add 'The Fastest and the Slowest Programming Language' to FriendFeed" /></a></div>
<!-- Social Bookmarking Reloaded END -->]]></content:encoded>
			<wfw:commentRss>http://blog.hamsworld.net/2009/12/04/the-fastest-and-the-slowest-programming-language/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
