• dreugeworst@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    3 天前

    Which language would you say is not memory safe then? Is there any serious language out there where you should expect memory issues if you don’t make any mistakes?

    • Zacryon@feddit.org
      link
      fedilink
      arrow-up
      2
      ·
      2 天前

      No. I changed my mind just very recently throughout this discussion.

      I agree now that the lack of enforcement of memory safe techniques in C++ makes it inherently memory-unsafe.

      That doesn’t change the fact though that it’s possible to write memory safe code, if you know what you’re doing, use the right patterns, classes etc…