<?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: The power of JRuby</title>
	<atom:link href="http://www.khelll.com/blog/ruby/the-power-of-jruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/</link>
	<description>What web development means....</description>
	<lastBuildDate>Thu, 04 Mar 2010 07:36:14 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JRuby and Rails Screencasts &#171; Bandwagon</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-201</link>
		<dc:creator>JRuby and Rails Screencasts &#171; Bandwagon</dc:creator>
		<pubDate>Fri, 16 Jan 2009 19:24:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-201</guid>
		<description>[...] The Power of JRuby http://www.khelll.com/blog/ruby/the-power-of-jruby/ [...]</description>
		<content:encoded><![CDATA[<p>[...] The Power of JRuby <a href="http://www.khelll.com/blog/ruby/the-power-of-jruby/" rel="nofollow">http://www.khelll.com/blog/ruby/the-power-of-jruby/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devdanke</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-184</link>
		<dc:creator>devdanke</dc:creator>
		<pubDate>Tue, 13 Jan 2009 08:13:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-184</guid>
		<description>Hello Charles Oliver Nutter,

It is an honor to have you comment on my post.  You and your compatriots have done an excellent job with JRuby.  In my opinion, your work is a model of efficient, effective open source development.  I am grateful to the JRuby team.  

You are correct, there is room on the JVM for JRuby, Groovy, and other languages.  

I apologize if it seemed like I was trying to scare people away from J/Ruby.  I was just offering my opinion, based on my experience, to Java devs who hadn&#039;t tried either language yet.  It&#039;s it only with reluctance that I made my suggestion, because I really do appreciate the beauty of Ruby.

I haven&#039;t tried JRuby since 1.1.  I&#039;ll take your advice and try it again, especially to see how it integrates with existing Java libraries.  

-devdanke</description>
		<content:encoded><![CDATA[<p>Hello Charles Oliver Nutter,</p>
<p>It is an honor to have you comment on my post.  You and your compatriots have done an excellent job with JRuby.  In my opinion, your work is a model of efficient, effective open source development.  I am grateful to the JRuby team.  </p>
<p>You are correct, there is room on the JVM for JRuby, Groovy, and other languages.  </p>
<p>I apologize if it seemed like I was trying to scare people away from J/Ruby.  I was just offering my opinion, based on my experience, to Java devs who hadn&#8217;t tried either language yet.  It&#8217;s it only with reluctance that I made my suggestion, because I really do appreciate the beauty of Ruby.</p>
<p>I haven&#8217;t tried JRuby since 1.1.  I&#8217;ll take your advice and try it again, especially to see how it integrates with existing Java libraries.  </p>
<p>-devdanke</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khelll</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-183</link>
		<dc:creator>khelll</dc:creator>
		<pubDate>Tue, 13 Jan 2009 07:40:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-183</guid>
		<description>@ jason, i saw something related to that &lt;a href=&quot;http://wiki.jruby.org/wiki/Rails_AOT&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, never tried it though...</description>
		<content:encoded><![CDATA[<p>@ jason, i saw something related to that <a href="http://wiki.jruby.org/wiki/Rails_AOT" rel="nofollow">here</a>, never tried it though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Soleone</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-180</link>
		<dc:creator>Soleone</dc:creator>
		<pubDate>Tue, 13 Jan 2009 01:30:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-180</guid>
		<description>@jason

Ruby 1.9 (or to be more specific the YARV implementation of it) will allow compilation to bytecode as far as I know. But this will be a JIT (just-in-time) compiler, so you will still distribute the source-code, and the virtual machine will optimize it to bytecode when running a piece of code for the first time. Pre-compilation of Ruby-code is not an easy task (or nearly impossible), as Ruby is very dynamic and allows changing all it&#039;s code during runtime. Please correct me anyone if I&#039;m wrong here.</description>
		<content:encoded><![CDATA[<p>@jason</p>
<p>Ruby 1.9 (or to be more specific the YARV implementation of it) will allow compilation to bytecode as far as I know. But this will be a JIT (just-in-time) compiler, so you will still distribute the source-code, and the virtual machine will optimize it to bytecode when running a piece of code for the first time. Pre-compilation of Ruby-code is not an easy task (or nearly impossible), as Ruby is very dynamic and allows changing all it&#8217;s code during runtime. Please correct me anyone if I&#8217;m wrong here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jason</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-179</link>
		<dc:creator>jason</dc:creator>
		<pubDate>Tue, 13 Jan 2009 00:15:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-179</guid>
		<description>Can someone please tell me if I can compile, run and distribute my Rails app as byte code?</description>
		<content:encoded><![CDATA[<p>Can someone please tell me if I can compile, run and distribute my Rails app as byte code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Morgan</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-178</link>
		<dc:creator>Morgan</dc:creator>
		<pubDate>Mon, 12 Jan 2009 23:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-178</guid>
		<description>Greetings,

Good article; a nice overview of some of the benefits.  Too bad it got hijacked.  :(

I found JRuby to be very useful to embed in an application to provide scripting support.  Because of the ease of building simple DSLs in Ruby, I can provide a scripting interface that non-programmer users can basically understand, but that calls down into the apps original Java code.

It adds about 8MB to app download (after stripping rspec, rake and gems out), and startup is a little slow, but with some judicious threading, that can be hidden in other startup times.

I&#039;m really happy with how JRuby has come along.

--  Morgan</description>
		<content:encoded><![CDATA[<p>Greetings,</p>
<p>Good article; a nice overview of some of the benefits.  Too bad it got hijacked.  <img src='http://www.khelll.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>I found JRuby to be very useful to embed in an application to provide scripting support.  Because of the ease of building simple DSLs in Ruby, I can provide a scripting interface that non-programmer users can basically understand, but that calls down into the apps original Java code.</p>
<p>It adds about 8MB to app download (after stripping rspec, rake and gems out), and startup is a little slow, but with some judicious threading, that can be hidden in other startup times.</p>
<p>I&#8217;m really happy with how JRuby has come along.</p>
<p>&#8211;  Morgan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ab5tract</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-177</link>
		<dc:creator>ab5tract</dc:creator>
		<pubDate>Mon, 12 Jan 2009 23:16:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-177</guid>
		<description>Sorry, my previous post probably needs a little clarification. It was certainly off topic (apologies) but it is not entirely disconnected. Let me explain:

JRuby, despite being the fastest implementation and the most sensible deployment platform for a web app (assuming your app is multithreaded there is no contest) it has this stigma of being second class in some way. Or a trojan horse. Headius has already written about this in the elephant. This reputation is not deserved. JRuby will not kill Ruby, or destroy the community.

And neither is the canonization of Perl 6 as the Prime Vapor. People have been putting a lot of work into a system designed from the ground up to be both expansive and inclusive. When Parrot 1.0 is out and high level language development truly stabilizes it will be the best platform for writing Ruby 2.0. Matz could literally cherrypick from the Perl 6 featureset, do his magicawesome-syntax-fu on those enhancements, and voila Ruby 2.0 takes less than a year (after the date 1.9 is implemented). That said, Parrot 1.0 isn&#039;t here yet so I can (sort of) understand why neither Matz nor the Rubinius team chose it.

My point is: stop using Perl 6 as the language that never made it. It is coming, it will be here, and once it is, a lot of things will change. And everyone who loves dynamic languages is going to cream themselves when they realize what we&#039;re getting in Parrot. Sorry to jack the thread, I just see this meme so often and today devdanke&#039;s comment was the final straw. Apologies for the bizarre rant but they say venting is healthy, right?

Viva la Ruby!</description>
		<content:encoded><![CDATA[<p>Sorry, my previous post probably needs a little clarification. It was certainly off topic (apologies) but it is not entirely disconnected. Let me explain:</p>
<p>JRuby, despite being the fastest implementation and the most sensible deployment platform for a web app (assuming your app is multithreaded there is no contest) it has this stigma of being second class in some way. Or a trojan horse. Headius has already written about this in the elephant. This reputation is not deserved. JRuby will not kill Ruby, or destroy the community.</p>
<p>And neither is the canonization of Perl 6 as the Prime Vapor. People have been putting a lot of work into a system designed from the ground up to be both expansive and inclusive. When Parrot 1.0 is out and high level language development truly stabilizes it will be the best platform for writing Ruby 2.0. Matz could literally cherrypick from the Perl 6 featureset, do his magicawesome-syntax-fu on those enhancements, and voila Ruby 2.0 takes less than a year (after the date 1.9 is implemented). That said, Parrot 1.0 isn&#8217;t here yet so I can (sort of) understand why neither Matz nor the Rubinius team chose it.</p>
<p>My point is: stop using Perl 6 as the language that never made it. It is coming, it will be here, and once it is, a lot of things will change. And everyone who loves dynamic languages is going to cream themselves when they realize what we&#8217;re getting in Parrot. Sorry to jack the thread, I just see this meme so often and today devdanke&#8217;s comment was the final straw. Apologies for the bizarre rant but they say venting is healthy, right?</p>
<p>Viva la Ruby!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khelll</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-174</link>
		<dc:creator>khelll</dc:creator>
		<pubDate>Mon, 12 Jan 2009 18:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-174</guid>
		<description>@ collin, you are right, it&#039;s not needed, the snippet of code was modify to reflect the change.
Thanks for your note, and thanks for &lt;a href=&quot;http://www.bloglines.com/blog/ThomasEEnebo&quot; rel=&quot;nofollow&quot;&gt;Tom Eneboo&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@ collin, you are right, it&#8217;s not needed, the snippet of code was modify to reflect the change.<br />
Thanks for your note, and thanks for <a href="http://www.bloglines.com/blog/ThomasEEnebo" rel="nofollow">Tom Eneboo</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: collin</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-173</link>
		<dc:creator>collin</dc:creator>
		<pubDate>Mon, 12 Jan 2009 17:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-173</guid>
		<description>As a Java/Swing guy I have to ask this. What thread is your example running on and why do you need the Thread.stop? Swing components should always be created and modified on the &#039;event dispatch thread&#039;. The EDT runs even if the main thread completes so you don&#039;t have to play an tricks to keep your JVM running. Also you tend to tell a single framed application to &quot;exit on close&quot; so that the app exits when you click the close button on the window frame. Is there something ins special in JRuby that takes care of some of these things?</description>
		<content:encoded><![CDATA[<p>As a Java/Swing guy I have to ask this. What thread is your example running on and why do you need the Thread.stop? Swing components should always be created and modified on the &#8216;event dispatch thread&#8217;. The EDT runs even if the main thread completes so you don&#8217;t have to play an tricks to keep your JVM running. Also you tend to tell a single framed application to &#8220;exit on close&#8221; so that the app exits when you click the close button on the window frame. Is there something ins special in JRuby that takes care of some of these things?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: khelll</title>
		<link>http://www.khelll.com/blog/ruby/the-power-of-jruby/comment-page-1/#comment-172</link>
		<dc:creator>khelll</dc:creator>
		<pubDate>Mon, 12 Jan 2009 17:29:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.khelll.com/blog/?p=280#comment-172</guid>
		<description>@ Ibrahim Salem, 1-Rails is working very well for JRuby in non threaded mode. You MIGHT have some problems in threaded mode with SOME gems or plugins which don&#039;t support threading the right way (and yes there are some of them), but this is should be solved in the near future and it&#039;s not a problem of JRuby anyway . 2-That&#039;s why it&#039;s highly recommended to use the FFI to wrap C extensions instead of the old way, and thus the code will work for most of the implementations including JRuby, also an example is the Syslogger gem which is using the FFI right now and works well for Ruby MRI and JRuby.</description>
		<content:encoded><![CDATA[<p>@ Ibrahim Salem, 1-Rails is working very well for JRuby in non threaded mode. You MIGHT have some problems in threaded mode with SOME gems or plugins which don&#8217;t support threading the right way (and yes there are some of them), but this is should be solved in the near future and it&#8217;s not a problem of JRuby anyway . 2-That&#8217;s why it&#8217;s highly recommended to use the FFI to wrap C extensions instead of the old way, and thus the code will work for most of the implementations including JRuby, also an example is the Syslogger gem which is using the FFI right now and works well for Ruby MRI and JRuby.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
