<?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: Random thoughts of the day</title>
	<atom:link href="http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/feed/" rel="self" type="application/rss+xml" />
	<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/</link>
	<description>musings on numerical computing and financial modeling</description>
	<lastBuildDate>Fri, 03 Sep 2010 21:38:25 -0600</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Corey</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-785</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Tue, 16 Mar 2010 13:12:23 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-785</guid>
		<description>P.S. Good luck with the launch of your strategy!</description>
		<content:encoded><![CDATA[<p>P.S. Good luck with the launch of your strategy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-784</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Tue, 16 Mar 2010 13:12:05 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-784</guid>
		<description>Sorry I never replied tot this!  Must&#039;ve slipped by.  Rubinius has worked out fairly well, though I have pretty much stopped using Ruby for anything other than i/o bound processes (web scraping, database maintenance, et cetera).  For stuff like that, it doesn&#039;t really matter what language I do it in because the bottleneck is in the i/o, not the speed of the language.  I don&#039;t see any reason why I couldn&#039;t do my numerical analysis in Ruby instead of Matlab or R -- I just think I have sort of segmented my tools to what I currently work most efficiently in.

I have been having some good fun playing around in Haskell, and there are a lot of available packages -- lots more than I expected at least.  And the community on freenode (#haskell) is extremely helpful to newcomers.</description>
		<content:encoded><![CDATA[<p>Sorry I never replied tot this!  Must&#8217;ve slipped by.  Rubinius has worked out fairly well, though I have pretty much stopped using Ruby for anything other than i/o bound processes (web scraping, database maintenance, et cetera).  For stuff like that, it doesn&#8217;t really matter what language I do it in because the bottleneck is in the i/o, not the speed of the language.  I don&#8217;t see any reason why I couldn&#8217;t do my numerical analysis in Ruby instead of Matlab or R &#8212; I just think I have sort of segmented my tools to what I currently work most efficiently in.</p>
<p>I have been having some good fun playing around in Haskell, and there are a lot of available packages &#8212; lots more than I expected at least.  And the community on freenode (#haskell) is extremely helpful to newcomers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan Shore</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-762</link>
		<dc:creator>Jonathan Shore</dc:creator>
		<pubDate>Sun, 07 Mar 2010 00:09:20 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-762</guid>
		<description>A late comment again.   I&#039;m curious how rubinius has worked out for you.   

I started using jruby a couple of weeks ago as concluded that the functional structures in ruby are far better than any other OO lang have encountered.   What one can do with blocks is awesome.

The jruby guys say it is 5x faster than ruby 1.8 and in recent tests faster than 1.9, but did not indicate #s.

There is also a project by Charles Nutter called Duby which adds type annotations (optionally) to ruby syntax.   Numerical code at least, performs at the java level of performance I&#039;ve been led to believe (which means it is comparable to C perf).

Duby is still too early stage probably to be usable I&#039;m guessing.</description>
		<content:encoded><![CDATA[<p>A late comment again.   I&#8217;m curious how rubinius has worked out for you.   </p>
<p>I started using jruby a couple of weeks ago as concluded that the functional structures in ruby are far better than any other OO lang have encountered.   What one can do with blocks is awesome.</p>
<p>The jruby guys say it is 5x faster than ruby 1.8 and in recent tests faster than 1.9, but did not indicate #s.</p>
<p>There is also a project by Charles Nutter called Duby which adds type annotations (optionally) to ruby syntax.   Numerical code at least, performs at the java level of performance I&#8217;ve been led to believe (which means it is comparable to C perf).</p>
<p>Duby is still too early stage probably to be usable I&#8217;m guessing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-722</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Mon, 22 Feb 2010 14:17:27 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-722</guid>
		<description>I didn&#039;t see any mention about allowing the time for byte-code compilation.  JRuby would face the same issue -- slow start-up simply because it has to compile the byte-code.  The second time around, it should be much faster.</description>
		<content:encoded><![CDATA[<p>I didn&#8217;t see any mention about allowing the time for byte-code compilation.  JRuby would face the same issue &#8212; slow start-up simply because it has to compile the byte-code.  The second time around, it should be much faster.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shane</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-721</link>
		<dc:creator>Shane</dc:creator>
		<pubDate>Mon, 22 Feb 2010 12:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-721</guid>
		<description>Have you looked at this benchmark?

http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/

It finds that Rubinius is slower than other Ruby VM&#039;s.</description>
		<content:encoded><![CDATA[<p>Have you looked at this benchmark?</p>
<p><a href="http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/" rel="nofollow">http://antoniocangiano.com/2007/12/03/the-great-ruby-shootout/</a></p>
<p>It finds that Rubinius is slower than other Ruby VM&#8217;s.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Digital Dude</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-719</link>
		<dc:creator>Digital Dude</dc:creator>
		<pubDate>Thu, 18 Feb 2010 22:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-719</guid>
		<description>Maybe something along the lines of FScript (www.fscript.org) would be more to your liking...

Cordially,

-Digital Dude-

&quot;Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects.&quot; -Alan Kay-</description>
		<content:encoded><![CDATA[<p>Maybe something along the lines of FScript (www.fscript.org) would be more to your liking&#8230;</p>
<p>Cordially,</p>
<p>-Digital Dude-</p>
<p>&#8220;Until real software engineering is developed, the next best practice is to develop with a dynamic system that has extreme late binding in all aspects.&#8221; -Alan Kay-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-692</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Sun, 14 Feb 2010 15:34:55 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-692</guid>
		<description>I took a look at Haskell a while ago when I started wanted to get back into functional languages after programming SML in school.  I played with Erlang a bit, then leaned towards OCaml.  I can&#039;t remember why I didn&#039;t spend anytime with Haskell.  I will check it out again -- thanks for the recommendation.</description>
		<content:encoded><![CDATA[<p>I took a look at Haskell a while ago when I started wanted to get back into functional languages after programming SML in school.  I played with Erlang a bit, then leaned towards OCaml.  I can&#8217;t remember why I didn&#8217;t spend anytime with Haskell.  I will check it out again &#8212; thanks for the recommendation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-675</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Thu, 11 Feb 2010 20:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-675</guid>
		<description>Have you looked at Haskell ? It&#039;s fantastically expressive and much faster than Ruby once you know what you are doing. It&#039;ll never be as fast as C but then nothing will.</description>
		<content:encoded><![CDATA[<p>Have you looked at Haskell ? It&#8217;s fantastically expressive and much faster than Ruby once you know what you are doing. It&#8217;ll never be as fast as C but then nothing will.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-609</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Sat, 30 Jan 2010 22:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-609</guid>
		<description>No comparison between Rubinius and C++ -- thought on my MacBook, generating the 40th fibonacci number (with a naive, non-optimized, non-memoized recursive algorithm) takes ~30s with Ruby 1.9, and ~9s with Rubinius -- a considerable speed increase.  I wouldn&#039;t expect the speed to ever approach a statically compiled language because of all the run-time checks that need to occur.  I am sure C++ would smoke Ruby -- but for the &#039;programmer cycles&#039; I can save writing code in Ruby, it is worth it to me.  Plus, worst case scenario, I can just throw more processors at the problem using something like Ruby&#039;s distributed object library (DRb).  Real concurrency seems to be a far way off -- the same issues plague Ruby that plague Python (see &lt;a href=&quot;http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;).  Lightweight threads (called Fibers) were introduced with 1.9, but they are non-preemptive, which defeats the purpose to me.  I think JRuby, XRuby, and IronRuby are the only implementations that allow ruby to harness the power of multiple cores.  Rubinius will soon have Multi-VM capabilities with IPC, so that should at least allow Rubyists to start dabbling more with concurrency.

For the most part, I have found Python vs. Ruby comparisons to be extremely biased by whoever is posting it.  At this point in maturity, I think both languages are fairly comparable in speed.  I simply chose Ruby because I liked its syntax more.  

F# always seemed like an interesting possibility, but everything I have read has called it &#039;too academic&#039; and too much of a &#039;pet project&#039; than a real language to work with.  I try not to be an early adopter of languages -- I don&#039;t like working in languages that don&#039;t have a plethora of libraries to choose from.  Let me know if you give it a spin.</description>
		<content:encoded><![CDATA[<p>No comparison between Rubinius and C++ &#8212; thought on my MacBook, generating the 40th fibonacci number (with a naive, non-optimized, non-memoized recursive algorithm) takes ~30s with Ruby 1.9, and ~9s with Rubinius &#8212; a considerable speed increase.  I wouldn&#8217;t expect the speed to ever approach a statically compiled language because of all the run-time checks that need to occur.  I am sure C++ would smoke Ruby &#8212; but for the &#8216;programmer cycles&#8217; I can save writing code in Ruby, it is worth it to me.  Plus, worst case scenario, I can just throw more processors at the problem using something like Ruby&#8217;s distributed object library (DRb).  Real concurrency seems to be a far way off &#8212; the same issues plague Ruby that plague Python (see <a href="http://www.igvita.com/2008/11/13/concurrency-is-a-myth-in-ruby/" rel="nofollow">here</a>).  Lightweight threads (called Fibers) were introduced with 1.9, but they are non-preemptive, which defeats the purpose to me.  I think JRuby, XRuby, and IronRuby are the only implementations that allow ruby to harness the power of multiple cores.  Rubinius will soon have Multi-VM capabilities with IPC, so that should at least allow Rubyists to start dabbling more with concurrency.</p>
<p>For the most part, I have found Python vs. Ruby comparisons to be extremely biased by whoever is posting it.  At this point in maturity, I think both languages are fairly comparable in speed.  I simply chose Ruby because I liked its syntax more.  </p>
<p>F# always seemed like an interesting possibility, but everything I have read has called it &#8216;too academic&#8217; and too much of a &#8216;pet project&#8217; than a real language to work with.  I try not to be an early adopter of languages &#8212; I don&#8217;t like working in languages that don&#8217;t have a plethora of libraries to choose from.  Let me know if you give it a spin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tr8dr</title>
		<link>http://coreyhoffstein.com/2010/01/29/random-thoughts-of-the-day/comment-page-1/#comment-608</link>
		<dc:creator>tr8dr</dc:creator>
		<pubDate>Sat, 30 Jan 2010 21:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://coreyhoffstein.com/?p=243#comment-608</guid>
		<description>Sounds cool.   Have you done any performance comparisons of Ruby on Rubinius vs C++ or other VM environment?

I saw a comparison recently between Ruby and Python which showed the standard Ruby impl to be much faster than Python.   

I am more curious as to whether Ruby with a good VM comes near to to statically typed languages in speed.   I&#039;ve had to disqualify Python in my environment due to its lack of concurrency and performance issues.

At this point I am leaning towards moving to F#.   I&#039;ve done some tests with mono, particularly with the new LLVM backend and was blown away with how far they&#039;ve come on performance.</description>
		<content:encoded><![CDATA[<p>Sounds cool.   Have you done any performance comparisons of Ruby on Rubinius vs C++ or other VM environment?</p>
<p>I saw a comparison recently between Ruby and Python which showed the standard Ruby impl to be much faster than Python.   </p>
<p>I am more curious as to whether Ruby with a good VM comes near to to statically typed languages in speed.   I&#8217;ve had to disqualify Python in my environment due to its lack of concurrency and performance issues.</p>
<p>At this point I am leaning towards moving to F#.   I&#8217;ve done some tests with mono, particularly with the new LLVM backend and was blown away with how far they&#8217;ve come on performance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
