findpanics
Find calls to panic functions in rust executables (by philipc)
fallible_collections
impl fallible collections in rust, quite as describe in RFC 2116 (by vcombey)
findpanics | fallible_collections | |
---|---|---|
6 | 3 | |
35 | 28 | |
- | - | |
0.0 | 2.4 | |
over 2 years ago | 19 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
findpanics
Posts with mentions or reviews of findpanics.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-25.
-
Is there something like "super-safe" rust?
findpanics is also unmaintained, but a couple of years younger.
-
Is Rust really safe? How to identify functions that can potentially cause panic
Try findpanics (https://github.com/philipc/findpanics) instead. It's also unmaintained, but several years more recent.
-
My thoughts on Rust and C++
That's fair. I think I may just be a bit sore that Rustig was allowed to bit-rot and findpanics hasn't seen a commit since 2020.
- What improvements would you like to see in Rust or what design choices do you wish were reconsidered?
-
What's your strategy for checking that your code is panic free?
The approaches I've seen (Rustig, findpanics, no-panic, dont_panic) tend to be based around using whole-program analysis on the generated output binary to determine what's calling the panic machinery once the optimizers have had their way with it.
-
Sustainability with Rust
It's a shame that Rustig is unmaintained. I haven't had a chance to try findpanics yet, but it may be a good runner-up.
fallible_collections
Posts with mentions or reviews of fallible_collections.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-12.
-
Is Rust really safe? How to identify functions that can potentially cause panic
Does this or this look so alien that it could never end up in the standard library?
-
Does Rust really abort on allocation failure?
For the benefit of you, OP (/u/sugarcoatedcat) and any passersby, the crowdstrike team found that reserving in a fallible_collections::TryVec is very important... because they implemented the reallocation logic wrong: https://github.com/vcombey/fallible_collections/issues/22
-
How to deal with out-of-memory conditions in Rust
Wow. TryVec does a realloc call for every single push. TryVec::push is not amortized constant time, it's linear. I've opened an issue: https://github.com/vcombey/fallible_collections/issues/22
What are some alternatives?
When comparing findpanics and fallible_collections you can also consider the following projects:
lang-team - Home of the Rust lang team
rust-rfcs - RFCs for changes to Rust
prusti-dev - A static verifier for Rust, based on the Viper verification infrastructure.
criterion.rs - Statistics-driven benchmarking library for Rust
rustig - A tool to detect code paths leading to Rust's panic handler
rustig - A tool to detect code paths leading to Rust's panic handler
rust_fallible_vec - Fallible allocation support for Rust's Vec
hifitime - A high fidelity time management library in Rust
rfcs - RFCs for changes to Rust
rust - Empowering everyone to build reliable and efficient software.
findpanics vs lang-team
fallible_collections vs rust-rfcs
findpanics vs prusti-dev
fallible_collections vs criterion.rs
findpanics vs rustig
fallible_collections vs rustig
findpanics vs rust_fallible_vec
fallible_collections vs rust_fallible_vec
findpanics vs hifitime
findpanics vs rustig
findpanics vs rfcs
findpanics vs rust