• @[email protected]
    link
    fedilink
    15 days ago

    Hard disagree. Safe C++ code can be written quite easily these days. And better tools are coming out all the time.

    • @[email protected]
      link
      fedilink
      125 days ago

      Yes, but there’s a difference between “you can write safe code” and “the compiler will come for your family the next time you make a mistake”

      • @[email protected]
        link
        fedilink
        55 days ago

        rust isn’t a magic bullet either, it still doesn’t protect against a whole host of problems, like stack overflows, out of memory/bitflips, logic errors, memory leaks, unrecoverable errors/panics etc., and many projects are full of unsafe context rust code anyways.

          • @[email protected]
            link
            fedilink
            25 days ago

            And C++, just checked the wiki and the 2 example of openssh’s heartbleed and sudo, both in C. Not C++. As expected.

            • @[email protected]
              link
              fedilink
              24 days ago

              By that logic scratch would be the safest language out there (or can you tell me the last time a program written/built in scratch had a bug that affected millions of ppl around the world)