alt.hn

5/28/2026 at 2:42:04 PM

Creusot helps you prove your Rust code is correct

https://github.com/creusot-rs/creusot/tree/master

by fanf2

5/28/2026 at 4:19:59 PM

I'm super interested in this sort of stuff, but I have a hard time figuring out where to get started. Like, could this help in a typical CRUD application? What sorts of problems is it super useful for? What's a good way to get started integrating it into existing software, or is it better to design software ground-up to be verified? Are there limitations, or certain standard library features that are/aren't supported?

(Not specifically for Creusot)

by rendaw

5/28/2026 at 4:58:05 PM

A decent amount of mission-critical software undergoes formal verification, like spacecraft flight software (my area of expertise). SparkADA lives on because of not just its safety, but formal verifiability.

by mbonnet

5/28/2026 at 6:14:12 PM

Interesting, how common is this vs just unit testing? How do you avoid formally verifying something against a spec that could subtly fail in production?

by crackalamoo

5/28/2026 at 3:36:16 PM

Fantastic work

by giltho