Google Groups Home
Help | Sign in
Support for 10x Productivity Increase with Rails!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 31 - Collapse all   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Curt Hibbs  
View profile
 More options Mar 21 2005, 12:13 pm
Newsgroups: comp.lang.ruby
From: "Curt Hibbs" <c...@hibbs.com>
Date: Tue, 22 Mar 2005 02:13:07 +0900
Local: Mon, Mar 21 2005 12:13 pm
Subject: Support for 10x Productivity Increase with Rails!
I got a lot of flack for what I wrote in my ONLamp.com article on Rails when
I said you could get a 10x productivity increase using Rails vs. a typical
Java framework. The funny thing is that I thought I was being conservative!

Anyway, I spent some time talking with Bruce Tate this weekend (author of
Better, Faster, Lighter Java; Bitter Java; and Bitter EJBs) and he was able
to confirm that my claim is *not* out of line (he likes to say 5x to 10x
increase). Obviously your mileage will vary depending on circumstances, but
based on the details I got from Bruce, I still think that 10x is a good
ballpark number.

Some of these details have been reported before (DHH even commented on some
of this in his blog), but if you dig a little below the surface I think it
is even more telling, so please forgive me for re-telling the story...

Bruce Tate and his partner Justin Gehtland were engaged by a client to
replace an web app that had originally taken the company a year to develop.
Justin took 4 months to reimplement this web app using Spring and Hibernate.
Bruce characterized Spring/Hibernate as among the most productive frameworks
available in the Java space.

Recently, Justin decided to re-implement with Ruby on Rails. Bruce said that
this took a total of 5 days (Justin's weblog reported 4 days for 80%
completion so, presumably, 5 days is for the whole thing)!

Now this was widely reported, and so far there's nothing new here. But
consider this:

- Justin is a recognized *expert* in Spring and Hibernate.
- Spring/Hibernate are not your typical Java framework
  (i.e., not Struts), but are the current best-of-breed.
- Justin was a *novice* with Ruby and Rails and knew
  practically nothing about either one.

Despite being an expert in the best-of-breed Java frameworks and a novice in
the Ruby on Rails frameworks, he still managed an 8x improvement in
productivity -- this is very compelling! I can easily see how the
productivity increase would be even higher if compared with a Struts-based
implementation written by a non-expert.

But there is more... the Rails implementation actually ran faster than the
Java implementation! Now this, too, was previously reported. This had
baffled me somewhat, but Bruce thinks he knows why. He thinks its primarily
because Rails has fewer layers to go through than the java stack, and the
fact that the ActiveRecord ORM layer is much less generalized than Hibernate
and can, therefore, be implemented much more efficiently.

Anyway, it feels good to have my 10x claimed confirmed by an industry expert
to stated that he, too, was skeptical... until he had first-hand experience.

Curt

PS
  Bruce Tate and David Geary (author of Core Java Server Faces, Core JSTL,
and more) have signed with O'Reilly to write a "Rails Developer Notebook"
(obviously one of O'Reilly's new Developer Notebooks series).


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kloubakov, Yura  
View profile
 More options Mar 21 2005, 12:29 pm
Newsgroups: comp.lang.ruby
From: "Kloubakov, Yura" <YKlouba...@ftxs.fujitsu.com>
Date: Tue, 22 Mar 2005 02:29:56 +0900
Local: Mon, Mar 21 2005 12:29 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

> -----Original Message-----
> From: Curt Hibbs [mailto:c...@hibbs.com]
> Sent: Monday, March 21, 2005 12:13

[snip]

> Justin took 4 months to reimplement this web app using Spring
> and Hibernate.

[snip]

> Recently, Justin decided to re-implement with Ruby on Rails.
> Bruce said that this took a total of 5 days ...

[snip]

> Despite being an expert in the best-of-breed Java frameworks
> and a novice in the Ruby on Rails frameworks, he still managed an 8x
> improvement in productivity ...

Is not it more like 24x?

Yura.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Glenn Parker  
View profile
 More options Mar 21 2005, 12:48 pm
Newsgroups: comp.lang.ruby
From: Glenn Parker <glenn.par...@comcast.net>
Date: Tue, 22 Mar 2005 02:48:05 +0900
Local: Mon, Mar 21 2005 12:48 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

Curt Hibbs wrote:

> Bruce Tate and his partner Justin Gehtland were engaged by a client to
> replace an web app that had originally taken the company a year to develop.
> Justin took 4 months to reimplement this web app using Spring and Hibernate.
> Bruce characterized Spring/Hibernate as among the most productive frameworks
> available in the Java space.

> Recently, Justin decided to re-implement with Ruby on Rails. Bruce said that
> this took a total of 5 days (Justin's weblog reported 4 days for 80%
> completion so, presumably, 5 days is for the whole thing)!

The devil's advocate would ask, how much of that first four months was
devoted to Justin developing his expertise in the application itself?
Once you've mastered an application's logic, you have a distinct
advantage when re-implementing it in another environment.

--
Glenn Parker | glenn.parker-AT-comcast.net | <http://www.tetrafoil.com/>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lothar Scholz  
View profile
 More options Mar 21 2005, 12:55 pm
Newsgroups: comp.lang.ruby
From: Lothar Scholz <mailingli...@scriptolutions.com>
Date: Tue, 22 Mar 2005 02:55:51 +0900
Local: Mon, Mar 21 2005 12:55 pm
Subject: Re: Support for 10x Productivity Increase with Rails!
Hello Glenn,

GP> Curt Hibbs wrote:

>> Bruce Tate and his partner Justin Gehtland were engaged by a client to
>> replace an web app that had originally taken the company a year to develop.
>> Justin took 4 months to reimplement this web app using Spring and Hibernate.
>> Bruce characterized Spring/Hibernate as among the most productive frameworks
>> available in the Java space.

>> Recently, Justin decided to re-implement with Ruby on Rails. Bruce said that
>> this took a total of 5 days (Justin's weblog reported 4 days for 80%
>> completion so, presumably, 5 days is for the whole thing)!

GP> The devil's advocate would ask, how much of that first four months was
GP> devoted to Justin developing his expertise in the application itself?
GP> Once you've mastered an application's logic, you have a distinct
GP> advantage when re-implementing it in another environment.

Correct. And you can implement the first 90% of an application in 10%
of the time you need for a 100% implementation.

--
 Best regards,                        emailto: scholz at scriptolutions dot com
 Lothar Scholz                        http://www.ruby-ide.com
 CTO Scriptolutions                   Ruby, PHP, Python IDE 's


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Curt Hibbs  
View profile
 More options Mar 21 2005, 1:11 pm
Newsgroups: comp.lang.ruby
From: "Curt Hibbs" <c...@hibbs.com>
Date: Tue, 22 Mar 2005 03:11:28 +0900
Local: Mon, Mar 21 2005 1:11 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

I was assuming a 5 day week and that during those four months he actually
had *real* weekends with his friends and family.

Curt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kloubakov, Yura  
View profile
 More options Mar 21 2005, 2:09 pm
Newsgroups: comp.lang.ruby
From: "Kloubakov, Yura" <YKlouba...@ftxs.fujitsu.com>
Date: Tue, 22 Mar 2005 04:09:34 +0900
Local: Mon, Mar 21 2005 2:09 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

OK.  4 month > 17 weeks :)

I also agree with the argument made by others that re-implementation
takes less than the first implementation but it may be more true for
their first re-implementation in "better" Java.

Yura.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bob Aman  
View profile
 More options Mar 21 2005, 4:39 pm
Newsgroups: comp.lang.ruby
From: Bob Aman <vacin...@gmail.com>
Date: Tue, 22 Mar 2005 06:39:38 +0900
Local: Mon, Mar 21 2005 4:39 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

> Just to be clear, the 10x claim is specifically for web app development
> using Ruby on Rails vs web app development using mainstream java frameworks.
> I make no such claim for general Ruby vs Java development.

Good point.  I was refering to Ruby in general, but really Rails
specifically.  I have quite a bit of stuff related to rss and web
services that could easily exist independently of Rails, but it was
all written for the purpose of plugging into it.  I still feel more
productive whether I'm working on the independent stuff or if I'm
working on things that are clearly within the domain of Rails.  Again,
this is all anecdotal.  But I think we'll ultimately find that it's
impossible to escape the anecdotal issue.
--
Bob Aman

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bob Aman  
View profile
 More options Mar 21 2005, 3:20 pm
Newsgroups: comp.lang.ruby
From: Bob Aman <vacin...@gmail.com>
Date: Tue, 22 Mar 2005 05:20:01 +0900
Local: Mon, Mar 21 2005 3:20 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

> > The devil's advocate would ask, how much of that first four months was
> > devoted to Justin developing his expertise in the application itself?
> > Once you've mastered an application's logic, you have a distinct
> > advantage when re-implementing it in another environment.

> I agree; I find that Ruby gives me an 11x increase ("Well, it's one
> faster, isn't it? It's not ten." ) in productivity over Ruby whenever I
> decide to rewrite a Ruby app in Ruby.

> A good deal of development time is figuring out where the specs or goals
> are wrong or incomplete, and sorting things out.  Once I've written
> something,  in whatever language, porting it over (or simply rewriting
> it) almost always goes faster; there's less thinking involved.

Ok, but what about when you want to add new features to an existing
ruby app.  What if you're trying to beat your competitors to the
punch?  If nothing else, I'd pick ruby simply for the ease in hacking
something together quickly.  I just picked ruby up recently, and
thanks to the whole 'least surprise' business, I find that even though
I don't really know what I'm doing, I still manage to do things
exactly the right way on the first try the overwhelming majority of
the time.  In Java, and many other systems, it takes at least 2-3
rewrites of a feature before I'm really happy that I got the thing
right... and I know I'm not alone in this.  Almost no one ever designs
something totally new without making any mistakes.  Even Apple is
working on a 5th generation iPod.

I know people don't really like anecdotes, but Ruby gives me a warm
fuzzy feeling and Java simply doesn't.  I doubt I'd claim a 10x
improvement in productivity, but I can definitely say there's a
substantial one, and it's big enough that it's hard to measure.

And actually, so far, I don't think I could claim an '11x improvement
writing something in ruby over writing something in ruby'.  So far,
rewrites take me almost the same amount of time as the original code
took to write, because the limiting factor, thus far, seems to be my
typing speed.
--
Bob Aman


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eric Hodel  
View profile
 More options Mar 21 2005, 2:51 pm
Newsgroups: comp.lang.ruby
From: Eric Hodel <drbr...@segment7.net>
Date: Tue, 22 Mar 2005 04:51:58 +0900
Local: Mon, Mar 21 2005 2:51 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

On 21 Mar 2005, at 09:13, Curt Hibbs wrote:

43 Things was implemented and released by 5 people in under 3 months.  
There was only one Ruby expert (me) and I spend half my time playing
sysadmin.

--
Eric Hodel - drbr...@segment7.net - http://segment7.net
FEC2 57F1 D465 EB15 5D6E  7C11 332A 551C 796C 9F04

  PGP.sig
< 1K Download

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Curt Hibbs  
View profile
 More options Mar 21 2005, 3:33 pm
Newsgroups: comp.lang.ruby
From: "Curt Hibbs" <c...@hibbs.com>
Date: Tue, 22 Mar 2005 05:33:02 +0900
Local: Mon, Mar 21 2005 3:33 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

Bob Aman wrote:

> I know people don't really like anecdotes, but Ruby gives me a warm
> fuzzy feeling and Java simply doesn't.  I doubt I'd claim a 10x
> improvement in productivity, but I can definitely say there's a
> substantial one, and it's big enough that it's hard to measure.

Just to be clear, the 10x claim is specifically for web app development
using Ruby on Rails vs web app development using mainstream java frameworks.
I make no such claim for general Ruby vs Java development.

Curt


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
James Britt  
View profile
 More options Mar 21 2005, 2:22 pm
Newsgroups: comp.lang.ruby
From: James Britt <jamesUNDERB...@neurogami.com>
Date: Tue, 22 Mar 2005 04:22:33 +0900
Local: Mon, Mar 21 2005 2:22 pm
Subject: Re: Support for 10x Productivity Increase with Rails!

I agree; I find that Ruby gives me an 11x increase ("Well, it's one
faster, isn't it? It's not ten." ) in productivity over Ruby whenever I
decide to rewrite a Ruby app in Ruby.

A good deal of development time is figuring out where the specs or goals
are wrong or incomplete, and sorting things out.  Once I've written
something,  in whatever language, porting it over (or simply rewriting
it) almost always goes faster; there's less thinking involved.

I have a problem with assorted claims based on anecdotal testimony,
however expert and/or reliable the person making the claim.  They almost
always come off sounding like biased hype, and the lack of any objective
proof allows people to go away believing whatever the want to believe
anyway.

Much better, I think, to make demonstrable assertions about the tool or
language itself, and let others make their own comparisons based on
their own experience.

James Britt

--

http://www.ruby-doc.org
http://www.rubyxml.com
http://catapult.rubyforge.com
http://orbjson.rubyforge.com
http://ooo4r.rubyforge.com
http://www.jamesbritt.com


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Kelly &nbs