“Rust’s compiler prevents common bugs” So does skill. No offense to you, but, this trope is getting so tiresome. If you like the language then go ahead and use it. What is it with the rust crowd that they have to come acrosslike people trying to convert your religion at your front door?

  • cbazero@programming.dev
    link
    fedilink
    arrow-up
    3
    arrow-down
    13
    ·
    4 days ago

    Ammm actually… ☝️🤓 most Rust evengalists claim that Rust prevents you from writing bugs

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      edit-2
      3 days ago

      Some bugs. I have never heard anybody remotely skilled in Rust claim that it prevents bugs in general.

      Python prevents many classes of bugs too (compared to C++). And any statically typed compiler will prevent some bugs that Python allows. Not too controversial I hope. Of course, unlike Rust, Python is unsuitable for many C++ use cases for other reasons.

      I do not use Rust and my self-image is not tied to C++. So I do not have to get upset when people explain the benefits of Rust.

      Rust is not perfect. That is why I do not use it. But it is not some elaborate lie either. It was designed to do certain things, and it does.

    • ExLisper@lemmy.curiana.net
      link
      fedilink
      arrow-up
      7
      ·
      4 days ago

      It’s hard to argue with that statement. Like, literally, I have no idea who rust evangelists are, where to look for them and how to find out what “most” of them think about anything.

      • banshee@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        Yep - I don’t really know who these evangelists are either. I have read about “fearless concurrency,” which seems pretty spot-on.

    • ryathal@sh.itjust.works
      link
      fedilink
      arrow-up
      5
      ·
      4 days ago

      Any type safe language will help you prevent a wide range of bugs that non safe languages need tons of tests to detect.