Zig vs Rust. Which one is going to be future?

I think about pros and cons and what to choose for the second (modern) language in addition to C.

@programming@programming.dev

  • mox@lemmy.sdf.org
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    Isn’t exactly this kind of thing what is mostly responsible for the demise of Perl?

    Perl died because better tools became available.

    • OpenStars@discuss.online
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      Python is not better in every way, it’s just more general-purpose, so has a wider range of applicability.

      Also more people use it, though by that logic we should all be forced to use Windows bc everyone else does as well?

      And Perl both still exists and is actively maintained, so it “lost prominence” rather than “died”.

      • mox@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 month ago

        And Perl both still exists and is actively maintained, so it “lost prominence” rather than “died”.

        Okay, but you’re the one who called out “the demise of Perl”. Have you changed your mind? I was just responding to your question.

        For what it’s worth, I think you were right about that: Perl is dead, in the sense of no longer growing or even maintaining the reach it once had. Other languages are overwhelmingly chosen for new code, while Perl has mostly fallen into disuse outside of people who learned it in its heyday and haven’t moved on, and irrelevance outside of legacy systems. It might not be quite as much a dead language as Latin (which also still exists and sees some use) but it’s well on its way there.

        • OpenStars@discuss.online
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 month ago

          Haha, oh yes, definitely not only not actively growing anymore but fully actively declining instead - those internal politics mattered more than the actual language issues themselves, once again. Every time I see another Python update and how very many things they break, I think that thought again. Tbf newer updates breaking older code happens even with C++ too - backwards compatibility affects just everything - though the whole Python 2 vs. 3 definitely still rankles me.

          I guess I’m still having emotional trouble letting it go - but that is an absolutely perfect example of Latin, still spoken yet most definitely also considered “dead” at the same time. I guess this about sums it up:

          img