• gedhrel@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      3 months ago

      It’s what C is for, too.

      The point is that there may be cases already where the type system that rust provides its guarantees off the back of is insufficiently expressive. (I say “may be” because there are ingenious qays to use what it does provide, although nonobvious and not necessarily without cost.) If you’re using unsafe then it’s just an uglier C. I don’t think anyone considers the current state of Rust’s type system to be the be-all and end-all of expressivity.