• AnyOldName3@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    If you’re going to change the definition of words, it’s pretty easy to show that garbage collection on its own is sufficient, but it’s not possible to have a useful conversation if someone’s using their own personal definition of the terms being discussed. The generally accepted definition of memory safety includes deeming out-of-bounds accesses and other spatial memory safety issues unsafe.

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 months ago

      With your definition this conversation doesn’t make sense though. Since rust’s direct array access doesn’t perform bounds checks when building in release mode. And it doesn’t require using unsafe.