• sus
      link
      fedilink
      arrow-up
      28
      arrow-down
      3
      ·
      edit-2
      2 months ago

      every single language (except Vlang of course) is memory safe if you program it perfectly.

      Very, very few humans are capable of doing that, especially with C.

      • WolfLink@sh.itjust.works
        link
        fedilink
        arrow-up
        8
        arrow-down
        4
        ·
        2 months ago

        You can still make stupid mistakes in Rust. It may make it harder to make the most common mistakes, but pretending the guardrails are prevent any type of mistake is asking for a problem to happen.

        • pathief@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          2 months ago

          The only one pretending mistakes can’t happen is the person I replied to. Mistakes definitely can happen and no programming language is fool proof.

          Continuing my car analogy, would you rather drive a car with airbags and seatbelts or one without them? Of course you can still have a fatal accident, but it’s nice to have safety features that make it as unlikely as possible.

    • MajorHavoc
      link
      fedilink
      arrow-up
      6
      arrow-down
      13
      ·
      edit-2
      2 months ago

      Lol. The people downvoting your comment need to get good.