SaaSHub helps you find the best software and product alternatives Learn more →
Top 3 Rust model-checking Projects
-
Project mention: Matt Godbolt sold me on Rust (by showing me C++) | news.ycombinator.com | 2025-05-06
The point I'm sure was to prevent the checks from incurring runtime overhead in production. Even in release mode, the overflow will only wrap rather than trigger undefined behavior, so this won't cause memory corruption unless you are writing unsafe code that ignores the possibility of overflow.
The checks being on in the debug config means your tests and replications of bug reports will catch overflow if they occur. If you are working on some sensitive application where you can't afford logic bugs from overflows but can afford panics/crashes, you can just turn on checks in release mode.
If you are working on a library which is meant to do something sensible on overflow, you can use the wide variety of member functions such as 'wrapping_add' or 'checked_add' to control what happens on overflow regardless of build configuration.
Finally, if your application can't afford to have logic bugs from overflows and also can't panic, you can use kani [0] to prove that overflow never happens.
All in all, it seems to me like Rust supports a wide variety of use cases pretty nicely.
[0]: https://github.com/model-checking/kani
-
InfluxDB
InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
-
Thinking about this some more, that example has a mutex in a single thread program. If it's ever reached while locked, the program is stuck. This is a demonstration that the backlink problem and single-thread deadlock detection are equivalent.
Work on compile time deadlock detection for Rust is underway.[1] It's complicated, but do-able.
[1] https://github.com/hlisdero/cargo-check-deadlock
-
Rust model-checking discussion
Rust model-checking related posts
-
Rust is rolling off the Volvo assembly line
-
Re-fixing Servo's event-loop
-
The Borrow Checker Within
-
Kani: A bit-precise model checker for Rust
-
Verified Rust for low-level systems code
-
Kani 0.40.0 has been released!
-
Kani 0.39.0 has been released!
-
A note from our sponsor - SaaSHub
www.saashub.com | 19 May 2025
Index
What are some of the best open-source model-checking projects in Rust? This list will help you:
# | Project | Stars |
---|---|---|
1 | kani | 2,550 |
2 | cargo-check-deadlock | 28 |
3 | lincheck | 11 |