• the_doktor@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    6 months ago

    Any software can have security issues, including ones written in rust. Just because C/C++ allows one to shoot oneself in the foot doesn’t mean it’s something that’s commonly allowed by anyone with any skill, it’s just a bug like anything else. I swear, people advocating rust believe that it’s something intrinsic in C/C++ that allows such a thing regardless of what a developer does, and it’s getting tiresome.

    • Miaou@jlai.lu
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      But it is, do you not understand what rust brings compared to these two languages ?

      • the_doktor@lemmy.zip
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        A language for noobs that encourages bad style and programming because you can’t shoot yourself in the foot as easily (but you totally still can)? That’s what all these fad languages seem to be, and more keep popping up and declaring themselves the future of programming all the time. Just wait, rust will be forgotten for some other fad language everyone will start using soon enough. Stop reworking everything into the fad language of the moment and just work on existing code.

        • uhN0id@programming.dev
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          I’m sorry but this reads like someone that hasn’t used Rust or hasn’t spent much time with it. You’re generalizing Rust with other languages they mostly came and while forgetting that some fads turn into standards.

          If everyone stopped trying new things we’d never see progress.

    • ProgrammingSocks@pawb.social
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Of course a good developer can avoid these problems for the most part. The point is that we want the bad developers to be forced to do things a safe way by default.

      • pathief@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        6 months ago

        Even good developers make mistakes. It’s really nice to catch these mistakes at compile time.