Ruby's Present and Future
Subject:   Speed
Date:   2003-12-21 12:24:36
From:   MikeStok
Response to: Speed

Is there a particular application which you need speeding up? Several people who have made this type of comment haven't timed a "real" application - Jim Freeze's powerpoint presentation has some interesting slides (11, 12, and 13) where Ruby was faster than perl on a real task.

I'm not saying that RUby shouldn't be made speedier or better on Windows, just that I'd like to be pragmatic about it.

Full Threads Newest First

Showing messages 1 through 3 of 3.

  • Speed
    2003-12-22 05:19:41  anonymous2 [View]

    It is more than "several" people. Matz, himself, has said it needs to be faster. Rite should do that but until then it still lags behind the "P" languages.
    • Speed
      2003-12-23 16:53:32  anonymous2 [View]

      ruby is slower than python and perl. Not so much in latest versions, if you use it with some intelligence.
      For example, even if you look at Doug's shootout you'll se stuff like this:
      for i in ary

      while you could just initialize the array with this stuff with {auto inc block}.

      BTW, I don't really care about ruby slowness, or python's for that matter. They are "fast enough" for my needs, and the C api are just a charm if I need extension. Not that this should fit for your needs, anyway..