Live data from Hacker News

Verus is a tool for verifying the correctness of code written in Rust

verus-lang.github.io

1–10 of 16 posts

Re: Verus is a tool for verifying the correctness of code written in Rust

#5
Clippy with unstable features enabled catches most if not all of these cases automatically? This seems like it needs more work to do the same thing clippy does.

I do see a value in validating constraints, but the examples are either too simple or I'm too dumb.

Re: Verus is a tool for verifying the correctness of code written in Rust

#6
I tried it not long ago - it's really cool just a tad sad that the rust eco-system didn't allow verus to be more streamlined in the tool and requires these little shenanigans with a different build of it - it felt a bit clunky to swap cargo for the verus one ; but the tool is definitely needed right now

Re: Verus is a tool for verifying the correctness of code written in Rust

#8
post #6

I tried it not long ago - it's really cool just a tad sad that the rust eco-system didn't allow verus to be more streamlined in the tool and requires these little shenanigans with a different build of it - it felt a bit clunky to swap cargo for the verus one ; but the tool is definitely needed right now

Do you have any reference to the Rust community “not allowing” something? This seems more like a case of a relatively niche tool doing what it needed to do to work, but not (yet) some broader effort to upstream or integrate this into cargo or rustup. I couldn’t find any RFCs or anything, for instance.

Re: Verus is a tool for verifying the correctness of code written in Rust

#9
post #8
post #6

I tried it not long ago - it's really cool just a tad sad that the rust eco-system didn't allow verus to be more streamlined in the tool and requires these little shenanigans with a different build of it - it felt a bit clunky to swap cargo for the verus one ; but the tool is definitely needed right now

Do you have any reference to the Rust community “not allowing” something? This seems more like a case of a relatively niche tool doing what it needed to do to work, but not (yet) some broader effort to upstream or integrate this into cargo or rustup. I couldn’t find any RFCs or anything, for instance.

I didn’t read OP as saying “the community won’t allow” but more “the tooling doesn’t allow” for what they want to do.

Re: Verus is a tool for verifying the correctness of code written in Rust

#10

Clippy with unstable features enabled catches most if not all of these cases automatically? This seems like it needs more work to do the same thing clippy does. I do see a value in validating constraints, but the examples are either too simple or I'm too dumb.

I have written complex proofs for distributed system using verus which are certainly not expressed by clippy
Post reply on HN