• TechNom (nobody)
    link
    fedilink
    English
    13
    edit-2
    4 months ago

    That’s misinformation. There’s no overestimation. The problem is so bad that even the US government advocates the use of memory safe languages (including GC languages).

    I have used C and C++. You need laser sharp focus to avoid memory safety errors even after you learn what causes them and how to avoid them. It’s significantly easier to write programs in Rust because any lapse in care to avoid memory safety bugs are caught by the compiler.

    • magic_lobster_party
      link
      fedilink
      -14 months ago

      What I mean is that even if you use GC languages like Java or Go you will still encounter annoying bugs. I’m not saying that memory safety isn’t important.

      • TechNom (nobody)
        link
        fedilink
        English
        64 months ago

        You said bugs caused by ‘memory problems’. And that Rust programmers vastly overestimate them. Those aren’t generic logical bugs that you get in Go or Java. And Rust never claimed to solve logical bugs.

        • magic_lobster_party
          link
          fedilink
          14 months ago

          I’m more poking fun at Rust enthusiasts who make it seem like programs are automatically bug free just because they’re written in Rust.

          Haskell enthusiasts made similar claims as well.