BT

Presentation: Three Years of Real-World Ruby

by Werner Schuster on Jul 14, 2009 | NOTICE: The next QCon is in London Mar 2-6, Join us!

In this talk from QCon London 2009, Martin Fowler talks about ThoughtWorks's experience with using Ruby on client projects for the past three years.

Dozens of client projects and ThoughtWorks Studio's Mingle, all implemented in Ruby, provide a ton of information about what it means to use Ruby in realworld situations. The talk discusses questions such as:

  • Is Ruby's performance (or lack thereof) really a problem?
  • Are Ruby teams really significantly more productive?
  • Is Ruby code read- and maintainable?

The talk is also available as an article on Martin's blog.

Watch Martin Fowler on "Three Years of Real-World Ruby".

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Text article available by Martin Fowler

If you can't stand listening to me droning - you can read the article of the talk.

Re: Text article available by andrew mcveigh

Martin,

Has there been any sampling on whether the use of ruby is more advantageous in the creation/early stages of a project, relative to the later maintenance and upgrade phases?

Andrew

Not working by Michael Furtak

I am unable to get the video to play on Win XP, Firefox 3.5. It works in Chrome and Safari, FWIW.

Re: Not working by melih birim

I have updated my firefox to 3.5 and video is also not working in my browser.

Nice talk ... but by Ali Motaz

First I would like to say that this was a nice talk and
that I enjoyed it greatly!



Martin presented his ideas clearly, and in case you never heard of him before
he is a UML and Agility hotshot, in a good way!



41 Ruby project by a reputable company is something any new technology can aspire

for, definitely good PR for Ruby and Rails



But the funny thing is, and if you think like I do, the bad things about Ruby,
which Martin highlighted in the talk are really, really, really terrible.



1. Ruby have a bad implementation.

Whats news to me was that Matz according to Martin doesn't have the skill to change this!



2. Ruby is slow.

But what you can read through the lines is , ThoughtWorks is trapped with 41, its a little too late to turn back to something else.
And the excuse that it's ok for a program to perform bad if it was written quickly seem hard to swallow.
OCaml at least one choice that offer high level abstraction and good performance.



3. He says that the bottle neck is the DB, and that they don't have the skills to fix this.

In many ways, Martin really admitted this in his talk, to defend Ruby's slowness he suggest that the problem and bottle neck are normally elsewhere like in the DB, and then he goes to say that mingle is slow! Which just means they don't know how to write fast DB applications, which is weird!



4. We deliver slow application to our customers! And they don't mind.

Presumably because they are delivered fast! Well, all I can think of is, they got lucky booking customers who are not demanding!
Personally I never met a customer who like slow application!



I do notice that number 3 and 4 and not really about Ruby, but what I am thinking is that they used Ruby to deliver these bad things. And they are tolerating it because of Ruby. Which at least fro me creates a bad association



Finally, all I wonna say is, after this talk, you might feel not so enthusiastic about Ruby.


Would not it have been better if he explained how he created fast performing application, and how his customers live the speed. And how speed in doing things changes perspectives and potential.


But he didn't, because they didn't!

Re: Text article available by Martin Fowler

I haven't done any sampling on that. I recall Mingle people saying that they certainly slowed, but were still faster.

Re: Nice talk ... but by Martin Fowler

In any application speed is a feature, but not the only feature that counts. After all I can write a really, really fast program if it doesn't have to do anything! So speed is something you trade-off versus other things.


On most of our applications the DB is the bottle neck, so Ruby's slowness isn't important. Mingle is an exception, but in that case they feel that rapid feature delivery is worth the need for more hardware.

Re: Not working by Floyd Marinescu

This bug cropped up last week with all InfoQ videos and we are working to troubleshoot it. Some users have reported greater success in the meantime with IE (gulp). Floyd

Re: Nice talk ... but by Jim Riley

A consulting company may do one or two projects when evaluating new technology. The fact that ThoughtWorks has done 41 projects (and counting) is an indication that this technology provides value to ThoughtWorks and their clients.

Ruby/Rails may not be the perfect fit for all projects and teams. I think the presentation provides provides good information for determining where, who and how to apply Ruby/Rails.

"Is Ruby Slow?" by Lavir the Whiolet

Is Ruby really slow? Have people tried Rubinius? Or other "performance-oriented" Ruby virtual machines?

A few more qs. by Manoj Waikar

I have a few more questions for you -

(1) Does the increasing popularity and maturing of languages like Clojure, change anything for your company's approach towards Ruby (because Ruby is slow)?
(2) Do you foresee TW using Lisp or Clojure or say, some of the functional languages in the near future?

Re: A few more qs. by Rodrigo Piovezan

So these seem to be the main issues identified when developing with Ruby on Rails: getting Active Directory (the built-in ORM) working with unit tests, more complex deployment mechanics, catching up with the platform's (particularly Rails) frequent updates, and, naturally, the Ruby/RoR learning curve.



The fact that Ruby on Rails has been indicated as a more productive environment than usual choices such as JEE or .NET in three years worth of projects, despite these issues, is certainly a great thing. It is difficult to see Ruby's slowness as an issue, since even Java was once like that, and look at how influent Java is in the enterprise market nowadays.



Regarding the learning curve, you mentioned that the teams were slow at the beginning (as expected with any new technology). Progressing through the "Improvement Ravine" had a relationship with their background on other scripting/dynamic languages and also with achieving the right attitude towards meta-programming. Perhaps I just didn't understand all the gathered data, but I could not visualize how steep this learning curve is. I think it would be really useful if you could provide some kind of feedback on this, and how it affected the teams' productivity at the early stages, this way people could have more realistic expectations on the outcome of adopting these technologies. How long until a JEE or .NET team can become productive on RoR?

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

12 Discuss

Educational Content

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT