cargo-check-deadlock
Find deadlocks in Rust code with Petri net model checking (by hlisdero)
SMPT
SMPT is a SMT-based model checker for Petri nets focused on reachability problems that takes advantage of net reductions (polyhedral reductions). (by nicolasAmat)
cargo-check-deadlock | SMPT | |
---|---|---|
3 | 1 | |
24 | 27 | |
- | - | |
8.1 | 6.4 | |
3 days ago | 10 months ago | |
Rust | Python | |
Apache License 2.0 | GNU General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cargo-check-deadlock
Posts with mentions or reviews of cargo-check-deadlock.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-06-14.
-
The Borrow Checker Within
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
-
Petri Net for tokio ?
And a project uses it to check for deadlocks. https://github.com/hlisdero/cargo-check-deadlock/ but it doesn't work for async code, yet.
-
Hey Rustaceans! Got a question? Ask here (23/2023)!
Hi, I'm looking for tools that can statically detect possible deadlocks in async fns. I'm aware of lockbud and cargo-check-deadlock, neither of which can analyse async code. Is there any tools that support this?
SMPT
Posts with mentions or reviews of SMPT.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-09-05.
-
Petri Net for tokio ?
I also found https://github.com/nicolasAmat/SMPT maybe it should be used because SMT, Z3 looks familiar. It's used in fancy new theorem provers.
What are some alternatives?
When comparing cargo-check-deadlock and SMPT you can also consider the following projects:
lincheck - A linearizability checker for concurrent data structures
mfcc-rust
cargo-edit - A utility for managing cargo dependencies from the command line.
nannou - A Creative Coding Framework for Rust.
lockbud - Statically detect memory, concurrency bugs and possible panic locations for Rust.
rust-playground - The Rust Playground
Cargo - The Rust package manager