<?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: Scripting in Python, Ruby, Perl? No, in C++!</title>
	<atom:link href="http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/</link>
	<description>Functional functional programming - Haskell, Ruby, Erlang, Scala...</description>
	<lastBuildDate>Mon, 04 Jan 2010 21:38:57 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: davber</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-569</link>
		<dc:creator>davber</dc:creator>
		<pubDate>Wed, 16 Apr 2008 22:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-569</guid>
		<description>Hey, I intended to move my blog to an Amazon EC2 instance I use, but decided midway to leave it where it is. That is why it was down for a few days.

I will try to find some performance metrics for JRuby and Jython w.r.t. Java. Actually, a more fair comparison would be between JRuby, Jython and Groovy, since they all need a lot of indirections to deal with the dynamic semantics of those languages.

If I do not find any good metrics, I will run some tests myself.

Thanks for staying in spite of the blog going through the motions for a few days :)</description>
		<content:encoded><![CDATA[<p>Hey, I intended to move my blog to an Amazon EC2 instance I use, but decided midway to leave it where it is. That is why it was down for a few days.</p>
<p>I will try to find some performance metrics for JRuby and Jython w.r.t. Java. Actually, a more fair comparison would be between JRuby, Jython and Groovy, since they all need a lot of indirections to deal with the dynamic semantics of those languages.</p>
<p>If I do not find any good metrics, I will run some tests myself.</p>
<p>Thanks for staying in spite of the blog going through the motions for a few days <img src='http://blog.davber.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mhyst</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-556</link>
		<dc:creator>mhyst</dc:creator>
		<pubDate>Sat, 05 Apr 2008 16:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-556</guid>
		<description>I couldn&#039;t visit this page for a few days. Are you having problems with it? Perhaps it was off for maintenance?

Returning to your comment... Programers are nonconformist people. Always rewriting things. lol I haven&#039;t any doubts about the benefits of having Ruby or Python written entirely in Java. There are a lot of Java tools that now are available to JRuby and Jython (mostly application server tools). But how many times are we goind to reinvent the wheel? 

Haven said that... how slow are going to be the programs writen in JRuby or Jython?

Before:
machine</description>
		<content:encoded><![CDATA[<p>I couldn&#8217;t visit this page for a few days. Are you having problems with it? Perhaps it was off for maintenance?</p>
<p>Returning to your comment&#8230; Programers are nonconformist people. Always rewriting things. lol I haven&#8217;t any doubts about the benefits of having Ruby or Python written entirely in Java. There are a lot of Java tools that now are available to JRuby and Jython (mostly application server tools). But how many times are we goind to reinvent the wheel? </p>
<p>Haven said that&#8230; how slow are going to be the programs writen in JRuby or Jython?</p>
<p>Before:<br />
machine</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davber</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-555</link>
		<dc:creator>davber</dc:creator>
		<pubDate>Tue, 01 Apr 2008 23:21:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-555</guid>
		<description>Ok, the Java-based implementation of Ruby is called JRuby, not &quot;JRube.&quot; Sorry for my fingers&#039; slipping up.</description>
		<content:encoded><![CDATA[<p>Ok, the Java-based implementation of Ruby is called JRuby, not &#8220;JRube.&#8221; Sorry for my fingers&#8217; slipping up.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davber</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-554</link>
		<dc:creator>davber</dc:creator>
		<pubDate>Tue, 01 Apr 2008 23:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-554</guid>
		<description>Well, to be fair against some interpreted languages (i.e., languages whose &quot;reference implementation&quot; is an interpreter, since a language per se is neither interpreted nor compiled, it just is ;-)), they usually handle the parsing once, building a parse structure and/or a (high-level) abstract instructions. This family of parse-once interpretative languages include Python (.py ---&gt; .pyc); note that these intermediate forms are rough enough not to earn the label &quot;abstract machine code&quot; (compared to CLI code or Java bytecode), so they still fall under the interpretative umbrella. Additionally, most interesting sessions (such as an in-process web service module; think mod_perl or mod_ruby) live for quite some time, so the initial parsing itself might not be a big deal; the step-by-step interpretation of that internal format is usually quite slow, though.

What I said in the preceding paragraph is that it is not - generally - the re-parsing that hurts performance but the actual internal execution of that semi-digested code.

To further appreciate the fact that a language per se is not interpretative, look at Ruby, whose Java bytecode implementation is almost complete (the omitted explicit continuation passing, for instance.) That implementation carries another name, JRube, but is implementing Ruby. Or, Python, in its Jython incarnation.

I am having fun, and hope you never lose you programming soul :-)</description>
		<content:encoded><![CDATA[<p>Well, to be fair against some interpreted languages (i.e., languages whose &#8220;reference implementation&#8221; is an interpreter, since a language per se is neither interpreted nor compiled, it just is <img src='http://blog.davber.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> ), they usually handle the parsing once, building a parse structure and/or a (high-level) abstract instructions. This family of parse-once interpretative languages include Python (.py &#8212;> .pyc); note that these intermediate forms are rough enough not to earn the label &#8220;abstract machine code&#8221; (compared to CLI code or Java bytecode), so they still fall under the interpretative umbrella. Additionally, most interesting sessions (such as an in-process web service module; think mod_perl or mod_ruby) live for quite some time, so the initial parsing itself might not be a big deal; the step-by-step interpretation of that internal format is usually quite slow, though.</p>
<p>What I said in the preceding paragraph is that it is not &#8211; generally &#8211; the re-parsing that hurts performance but the actual internal execution of that semi-digested code.</p>
<p>To further appreciate the fact that a language per se is not interpretative, look at Ruby, whose Java bytecode implementation is almost complete (the omitted explicit continuation passing, for instance.) That implementation carries another name, JRube, but is implementing Ruby. Or, Python, in its Jython incarnation.</p>
<p>I am having fun, and hope you never lose you programming soul <img src='http://blog.davber.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mhyst</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-553</link>
		<dc:creator>mhyst</dc:creator>
		<pubDate>Tue, 01 Apr 2008 22:36:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-553</guid>
		<description>I agree with you about C++ expressiveness. C++ used to be my prefered language and it still holds a lot of weight on my &quot;programming soul&quot;. Java became my first language for practical reasons (references are far easy to manage compared with pointers (less versatile though, I know)). But I think everybody should learn C/C++ before even smelling other languages.

Interpreted languages tend to be slow. The reason is obvious: every time you run an interpreted program it has to be parsed.

Have fun!</description>
		<content:encoded><![CDATA[<p>I agree with you about C++ expressiveness. C++ used to be my prefered language and it still holds a lot of weight on my &#8220;programming soul&#8221;. Java became my first language for practical reasons (references are far easy to manage compared with pointers (less versatile though, I know)). But I think everybody should learn C/C++ before even smelling other languages.</p>
<p>Interpreted languages tend to be slow. The reason is obvious: every time you run an interpreted program it has to be parsed.</p>
<p>Have fun!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: davber</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-552</link>
		<dc:creator>davber</dc:creator>
		<pubDate>Tue, 01 Apr 2008 05:17:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-552</guid>
		<description>Hey!

A confession: I do use Ruby and Python, and, yes, even Perl sometimes, although the need for the latter tool is getting smaller with Ruby, Python and Groovy in my hands.

The main reason - for me - to use C++ for &quot;scriptable&quot; tasks is *not* its speed, but rather the expressiveness of the language. There are meta constructs available that you do not find in a lot of languages - most dynamic languages, for instance, resort to reflection rather than meta constructs - and that really only exist in languages like Haskell and Scala.

And speed and native - no FFI - access to all C-based code is nice.

Again, I like Ruby and Python.

A lot of really slow languages are implemented in C, by the way ;-)

Take care!</description>
		<content:encoded><![CDATA[<p>Hey!</p>
<p>A confession: I do use Ruby and Python, and, yes, even Perl sometimes, although the need for the latter tool is getting smaller with Ruby, Python and Groovy in my hands.</p>
<p>The main reason &#8211; for me &#8211; to use C++ for &#8220;scriptable&#8221; tasks is *not* its speed, but rather the expressiveness of the language. There are meta constructs available that you do not find in a lot of languages &#8211; most dynamic languages, for instance, resort to reflection rather than meta constructs &#8211; and that really only exist in languages like Haskell and Scala.</p>
<p>And speed and native &#8211; no FFI &#8211; access to all C-based code is nice.</p>
<p>Again, I like Ruby and Python.</p>
<p>A lot of really slow languages are implemented in C, by the way <img src='http://blog.davber.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Take care!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mhyst</title>
		<link>http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/comment-page-1/#comment-551</link>
		<dc:creator>mhyst</dc:creator>
		<pubDate>Mon, 31 Mar 2008 16:52:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.davber.com/2007/01/29/scripting-in-python-ruby-perl-no-in-c/#comment-551</guid>
		<description>You&#039;re against Phyton, Perl and Ruby? Why? lol

I mean, I, as most programmers, like fast languages, but we don&#039;t rely on assembly always. I use assembly mostly for small projects. 

Why not using Phyton, Perl or Ruby. The three were developed in C.

Best regards</description>
		<content:encoded><![CDATA[<p>You&#8217;re against Phyton, Perl and Ruby? Why? lol</p>
<p>I mean, I, as most programmers, like fast languages, but we don&#8217;t rely on assembly always. I use assembly mostly for small projects. </p>
<p>Why not using Phyton, Perl or Ruby. The three were developed in C.</p>
<p>Best regards</p>
]]></content:encoded>
	</item>
</channel>
</rss>
