• refalo@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

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

    • twei@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      2 years 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”

      • refalo@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        2 years 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.