Even through it has some flaws, e.g. it’s not fully memory safe (there are some programming languages that are even safer, like Ada)?

  • jollyrogue@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    2 days ago

    Let’s bring C into this discussion if we want to talk about overused languages which aren’t fit for purpose. 😂

    The ergonomics of Rust are better than C and C++, and programmer productivity is the metric which really matters.

    Rust is compiled, and compiled languages are easier to deploy. Especially statically compiled languages like Rust.

    Ada might better, but it needs to be updated.

    Ada compiler development is also tied to a company which is moving to Rust, and the gnat toolchain developed by Adacore is “Open Source”, eventually, maybe.

  • spit_evil_olive_tips@beehaw.org
    link
    fedilink
    arrow-up
    45
    ·
    3 days ago

    you will get better answers to your question, and a more productive discussion in general, if you leave your subjective opinion out of the question.

    it’s not fully memory safe (there are some programming languages that are even safer, like Ada)?

    for example, you might ask instead “why has Rust gotten widespread adoption, that previous safety-focused languages like Ada did not enjoy?”

  • OmgItBurns@discuss.online
    link
    fedilink
    English
    arrow-up
    13
    ·
    3 days ago

    I was looking into Rust a few months ago and noticed that most jobs listed seemed to be Web 3, crypto scams. It doesn’t seem to be in high demand, from the corporate side of things.

    • Corporate wants people to port their COBOL code into Java 8.

      Most of them have decided on a tech tech a decade ago and they’re not going to change anything about it unless they absolutely have to, whether that’s Java or C# or Python or Ruby…

      Rust is gaining traction, but mostly for new projects or big revamps, and there’s a lot more shitty old code to maintain than there are opportunities to develop anything new. Besides, most companies don’t need Rust (or C or C++ for that matter), JVM/.NET/NodeJS/Go is fast enough for even intense corporate workloads and doesn’t require people to put in the effort to make everything perfectly sound.

    • Ephera@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      3 days ago

      I expect Rust to be inevitable in embedded development, but yeah, that space moves slow, so give it another ten years or so. I will say that embedded is practically jumping on Rust, compared to how glacially it normally moves. You’ve got big vendors committing to offering Rust APIs, because many of their customers just don’t want to code C/C++ anymore.

  • EamonnMR@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    7
    ·
    3 days ago

    On a superficial level it’s a lot nicer than Ada for people who didn’t learn to program on Pascal. Rust’s real flaws don’t show up until you need to do large refractors and change your application’s memory model.