Announcement

Collapse
No announcement yet.

Ruby 3.0 Released With ~3x The Performance

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ruby 3.0 Released With ~3x The Performance

    Phoronix: Ruby 3.0 Released With ~3x The Performance

    After a half-decade working toward it, Ruby 3.0 was released on Christmas Day with much greater performance and other features for this high-level general purpose programming language...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite

  • #2
    Meanwhile Python performance stuck

    Comment


    • #3
      Originally posted by Apophis View Post
      Meanwhile Python performance stuck
      Ruby, python, php, doesn’t matter if it gets the job done.

      Afterwards, if they need the performance they can always rewrite it in a systems language.

      Comment


      • #4
        Tbh, 3x times better performance sounds very much like its performance sucked very hard.

        Comment


        • #5
          If you use Ruby, a language that got popular only thanks to Ruby of Rails and that nobody uses except old Ruby on Rails developers, a language with no influx of new users, then you might want to consider moving on to Python, a hugely popular language, perhaps the world's most popular languages, taught all over the world at universities to people from all backgrounds whether it be mathematicians, statisticians, physicists, engineers or software developers.
          If you're interested in a systems language you want to look into Rust which draws inspiration from Ruby and features things familiar to Rust developers such as the double-pipe lambda expression ||, and implicit return statements where you end the line with the expression you want to return without using the return keyword.

          Originally posted by Apophis View Post
          Meanwhile Python performance stuck
          No, Python's performance has long been better than Ruby's.
          Isn't Python's performance similar to other interpreted languages such as PHP, Perl, Tcl, and JavaScript?

          Originally posted by flower View Post
          Tbh, 3x times better performance sounds very much like its performance sucked very hard.
          Yes, it did. Ruby was infamous for its poor performance.
          Last edited by uid313; 27 December 2020, 06:59 AM.

          Comment


          • #6
            Originally posted by atomsymbol

            Just a note: If I was asked to choose the best programming language from the top 20 (https://www.tiobe.com/tiobe-index) I wouldn't choose any of them because all of them are missing features I consider essential for solving hard problems.
            Just for curiosity...

            What languages would you choose? Why?

            Comment


            • #7
              Originally posted by atomsymbol

              Just a note: If I was asked to choose the best programming language from the top 20 (https://www.tiobe.com/tiobe-index) I wouldn't choose any of them because all of them are missing features I consider essential for solving hard problems.
              I don't do any hard problems so I don't know what those are.
              What kind of hard problems are you talking about?
              Can you give some example of hard problems?
              And can say what language you would chose, and what problem it solves.

              Comment


              • #8
                Originally posted by atomsymbol

                Just a note: If I was asked to choose the best programming language from the top 20 (https://www.tiobe.com/tiobe-index) I wouldn't choose any of them because all of them are missing features I consider essential for solving hard problems.
                What are the features you're missing?
                The only things I can think of are reliability guarantees and maybe some purely functional stuff.
                However I'd argue that your definition of essential might be very personal

                Comment


                • #9
                  "Let it never be said that programming is dead
                  'Cause there's so little else occupying my head
                  There is nothing I need, 'cept the function to breathe
                  But I'm not really fussed doesn't matter to me

                  Ruby Ruby Ruby Ruby
                  Do ya do ya do ya do ya
                  Know what your doing, doing to me
                  Ruby Ruby Ruby Ruby"

                  With apologies to the Kaiser Chiefs.
                  Last edited by vladpetric; 27 December 2020, 03:47 PM.

                  Comment


                  • #10
                    Originally posted by atomsymbol
                    Is there some explanation why are they comparing Ruby 3.0 performance to Ruby 2.0 - instead of using Ruby 2.7 as the baseline? Maybe 2.0 is a typo in their release announcement.
                    They set their goal of 3x when starting on working from 2.0 -> 3.0. So 2.1 - 2.7 are all part of the steps to get 3.0 being 3x as fast. So their focus for all these intermediate release was to speed it up as well.

                    Comment

                    Working...
                    X