Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
Apple Businesses

Experimental MacRuby Branch Is 3x Faster 191

An anonymous reader writes "Zen and the Art of Programming published an article about MacRuby's new experimental 0.5 branch (project blog entry here). According to the included benchmarks, Apple's version of Ruby could already, at this early stage of its development, be about three times as fast as the fastest Ruby implementation available elsewhere."
This discussion has been archived. No new comments can be posted.

Experimental MacRuby Branch Is 3x Faster

Comments Filter:
  • by Anonymous Coward on Sunday March 29, 2009 @04:07PM (#27381789)

    I heard it made a guy in Michigan's head explode! That's why I stay away from the experimental stuff, man.

  • by Anonymous Coward on Sunday March 29, 2009 @04:13PM (#27381821)

    Why MacRuby Matters (Present & Future)?

    Apparently because an experimental incomplete version of Ruby is fast. Colour me unimpressed.

    • by NoTheory ( 580275 ) on Sunday March 29, 2009 @04:32PM (#27381945)
      MacRuby matters for a lot of reasons. Early benchmarks aren't one of them. http://blog.headius.com/2009/03/on-benchmarking.html [headius.com]

      MacRuby's potential for Cocoa integration is fantastic and great, and something i very very much want to see.

      It's not clear however what relationship benchmarks at this stage (with an incomplete implementation) will actually correspond to in the future. They are a total red herring for discussion.

      Look at MacRuby on the merits! not the benchmarks!
      • by Artuir ( 1226648 ) on Sunday March 29, 2009 @05:19PM (#27382211)

        Whenever I read posts like these I start to wonder if I accidentally walked into a Starbucks.

        • Re: (Score:2, Insightful)

          by Anonymous Coward

          Whenever I read posts like these I start to wonder if I accidentally walked into a Starbucks.

          Yea, these Mac snobs need to get with the program. If they put half the effort they put into MacRuby into CocoOnPunchCards, perhaps the rest of us might take them a little more seriously.

      • Re: (Score:2, Funny)

        by Anonymous Coward

        This is slashdot. Benchmarks are all that matters.

    • by bonch ( 38532 )

      Well, if you ask me, I suspect that someday in a future version of the Mac OS, Ruby will be a first-class language for application development alongside or perhaps replacing Objective-C. I think Apple likes Ruby and its aesthetic. A lot of the Rails devs are Mac developers, and I think that's where it sparked.

    • I agree unless they will let me write iPhone apps in Ruby. I'm not a Ruby fanboi by any stretch of the imagination but Objective C sucks balls. I passionately despise it and their IDE for it is even worse than the language. Using a language that other people use opens the possibility of using non-Apple tools (which lets face it, suck). For all of Apple's efforts to make nice consumer devices, they don't give a rat fuck about developers and their tools. Xcode is lightyears behind the equivalent tools fo

    • Because it allows people to show how rich they are [wrongdistance.com].

  • And... (Score:2, Informative)

    Of course, Slashdot is a dime short and days late on the real news.

    JavaScript 3-10x Faster On iPhone OS 3.0 [theappleblog.com]

    Well, for a better, no BS news aggregator, try The Hacker News [ycombinator.com]. Then after seeing it there for a few days, come to slashdot to see a regurgitated discussion.

    • Your sig is pure evil. Nicely done!
      • Re: (Score:3, Informative)

        Thanks ;)

        You'd be surprised of the multitudes of comments I get on me and my bastardly signature... Well, you could always look at my freaks list to get an inking.

        I thought it was rather dryly funny.

        • Well, you could always look at my freaks list to get an inking.

          I'd rather not get inked, but I might want to get a ballpark feel for how unpopular it is. And maybe get an 'l' ;-)

    • Yeah, a site of links really compares to the discussion system here on /.. The discusssion and moderation system are what make this site good. Everyone but the dumbest of fucks knows that.
  • Re: (Score:2, Interesting)

    Comment removed based on user account deletion
    • by Viol8 ( 599362 ) on Sunday March 29, 2009 @04:33PM (#27381955) Homepage

      "LLVM supports effective optimization at compile time, link-time (particularly interprocedural), run-time"

      Amazing, truly unique ideas. If only someone had thought of doing this 30 years ago... oh wait...

      • ``"LLVM supports effective optimization at compile time, link-time (particularly interprocedural), run-time"

        Amazing, truly unique ideas. If only someone had thought of doing this 30 years ago... oh wait...''

        Well? That doesn't make it any less of a renaissance. If anything, it makes it more like the renaissance. After all, that also started with the idea of "hey, let's go do something with all this great stuff we had a long time ago".

        • by Viol8 ( 599362 )

          Well what? They've been standard compiler techniques for as long as I can remember. Isn't a renaissance supposed to be forgotten ideas coming back to life?

          • Because they don't want to expose high level intermediary code (too easy to hijack part of the compiler into a closed source project). Or at least that was one of the reasons LLVM was rejected for next generation GCC at the time.

            They might have changed their mind now LLVM is bearing down on them ...

            • ...line. It is disorienting for the people that don't always read the subject line (almost everybody). And capitalizing the first word of the body text when the word takes place in the middle of the sentence doesn't help, either.
            • Comment removed (Score:4, Insightful)

              by account_deleted ( 4530225 ) on Sunday March 29, 2009 @07:41PM (#27383111)
              Comment removed based on user account deletion
          • Re: (Score:3, Interesting)

            by bonch ( 38532 )

            The greatness of LLVM and Clang is that they replace the slow, rigid, crumbling GCC codebase. When the BSD-licensed Clang hits ready status, expect a massive switchover.

            • by tyrione ( 134248 )

              The greatness of LLVM and Clang is that they replace the slow, rigid, crumbling GCC codebase. When the BSD-licensed Clang hits ready status, expect a massive switchover.

              Precisely.

    • by samkass ( 174571 ) on Sunday March 29, 2009 @04:34PM (#27381965) Homepage Journal

      Of course, the results don't exactly show a "3x speedup"... they show between a 0.08x speedup and a 7.8x speedup, with a high variability. Which is really great for such an early build, but it's not an instant panacea for everything.

    • Re: (Score:3, Interesting)

      You know. It was bad enough when we had multitudes of acronym collisions with 3-letter acronyms... but did anyone else associate LLVM with Linux Logical Volume Manager?

      *sigh*
    • See also the Unladen swallow [google.com] project, which is using LLVM to speed up Python. They're still in the very early stages, but it looks promising.

  • by stefaanh ( 189270 ) on Sunday March 29, 2009 @05:06PM (#27382125)

    I wonder if this has any connection to what they learned creating the optimized javascript "interpreter" they made for their next generation rendering engine Webkit.

  • by Anonymous Coward on Sunday March 29, 2009 @05:15PM (#27382179)

    Sleep(30); /* used to be 90 */

  • Experts predict Computers to get faster with time! News at eleven.
  • by Anonymous Coward
    But I'm a heterosexual so I will not be able to take advantage.
  • just you wait... (Score:4, Insightful)

    by 3seas ( 184403 ) on Sunday March 29, 2009 @08:55PM (#27383535) Homepage Journal

    ... for them to get further along in completing it... it'll slow down.

Genius is ten percent inspiration and fifty percent capital gains.

Working...