• kiri@ani.socialOP
    link
    fedilink
    arrow-up
    2
    arrow-down
    1
    ·
    7 hours ago

    There are C++ analyzers like this which are also designed to prevent it (if you have no choice between languages).

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      21 minutes ago

      I’ve seen things like this posted several times on here. It always turns out it doesn’t actually catch all the possible problems, or it’s garbage collected, or it’s non-usable for real code.

      If it was that easy, the people who wrote Rust with all it’s complexity and divergence from the norm were idiots, and I really don’t think they were.