‹ BackHN Continuity

Thread

Developing provably correct Rust code with Verus

164 points · 79 comments · Betelbuddy

  1. bcjdjsndon · · focus · HN ↗
    > With Verus, however, developers can mathematically prove the safety of their unsafe Rust code, re-establishing machine-checked safety guarantees

    Why then does rust even need the unsafe keyword?

    1. afdbcreid · · focus · HN ↗
      Because Rust is not Verus, and not all unsafe code needs formal-verification-level of rigorousness. Also, there are other verifiers as well.
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.