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)?

  • magic_lobster_party
    link
    fedilink
    381 month ago

    It’s a hyped language because it solves many problems that has persisted with C and C++ - without having to rely on garbage collection.

    If anything, it’s underused. Not that I believe everything should be rewritten in Rust. That’s just stupid.

    • bluGill
      link
      fedilink
      61 month ago

      As a C++ developer Rust’s borrow checker is very interesting - it promises to solve my issues with C++ without the issues that make other languages (ie Java, Python…) have in the real world. (remember we choose C++ for a reason, Java isn’t correct for our application - if Java is correct you should use that instead)

      • @jansk@beehaw.org
        link
        fedilink
        31 month ago

        If you learn Rust, you’ll find that you’d choose it over C/++ even without the brrow checker. Every little part of the development experience is just so much better.

        • bluGill
          link
          fedilink
          21 month ago

          Maybe. I have millions of lines of c++ and making rust work with them will often be more work than just implementing the feature in c++

        • @SubArcticTundra@lemmy.ml
          link
          fedilink
          1
          edit-2
          15 days ago

          The only thing I hate about rust is how it does not respect my hard disk. It downloads all the dependencies and staticly links them into each project. Hrrrrrr