• FizzyOrange@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 months ago

    [memory safety] is a more or less solved research problem

    I don’t know if I would go that far. There are some interesting alternative approaches to Rust’s borrow checker that might turn out to be better. There’s definitely more research that can be done.

    But we do have at least one solution that works very well.

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

      The nice thing is if a much better solution exists then a rust compiler that uses it can be implemented using it. Then you don’t have to rewrite all the rust code.

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

          If you don’t code with undefined behavior compiler updates can apply to legacy code. I’ve been through enough compiler upgrades with microcontrollers that it’s old hat.