• Kushan@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    2 days ago

    I don’t think it’s about bringing rust enthusiasts to C, it’s about the fastest way to bring more safety to the entire ecosystem.

    I’m not convinced it’s possible with just annotations, mind.

    • pheggs@feddit.org
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      2
      ·
      2 days ago

      It is possible, it would bring in quite a few restrictions though. The bigger problem I see is that it wouldn’t be entirely clear as an end user whether a program is memory safe or not. However, this isn’t the case with rust neither. Maybe some kind of certification would help