• MonkderZweite@feddit.ch
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Unpopular opinion: Ruby is too widely used, because it’s the least performant language.

    Sometimes even for stuff, where performance matters (Asciidoctor).

    • The Quuuuuill@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      10 months ago

      Ruby’s popularity in the early 10s thanks to Ruby on Rails feels like it happened by accident. The language is hard to read and low performance, but Rails is completely automagic. But this is also the worst thing about rails. You create your app fast, but then maintaining it is expensive because you can’t onboard new developers easily. Even if they’re familiar with rails’ automagicisms, it will take them quite some time to parse what the hell the code is doing.

      Meanwhile I seem to recall Ruby’s creator finding the situation of his language being popular because he’d created it as an experiment and never thought it would be used in production grade environments

      • MonkderZweite@feddit.ch
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        10 months ago

        No, there circulated a performance list a while ago. Python was in the lower third while Ruby was bottom.

        • morrowind@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          10 months ago

          Which benchmark are you talking about? The most common I know of is the computer language benchmarks game, here’s a nice implementation of it.. You can see ruby is actually a decent bit faster.

          It’s an annoyingly persistent myth that ruby is significantly slower than python.