Article:
  Ruby's Present and Future
Subject:   Speed
Date:   2003-12-22 05:19:41
From:   anonymous2
Response to: Speed

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.
Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • 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:
    ary=Array.new
    z=0
    for i in ary
    i=z+=1
    end

    while you could just initialize the array with this stuff with Array.new {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..