rust_fallible_vec
Fallible allocation support for Rust's Vec (by microsoft)
fallible_collections
impl fallible collections in rust, quite as describe in RFC 2116 (by vcombey)
rust_fallible_vec | fallible_collections | |
---|---|---|
1 | 3 | |
25 | 29 | |
- | - | |
1.6 | 2.4 | |
23 days ago | about 1 month ago | |
Rust | Rust | |
MIT License | 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.
rust_fallible_vec
Posts with mentions or reviews of rust_fallible_vec.
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?
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 rust_fallible_vec and fallible_collections you can also consider the following projects:
findpanics - Find calls to panic functions in rust executables
rust-rfcs - RFCs for changes to Rust
criterion.rs - Statistics-driven benchmarking library for Rust
rustig - A tool to detect code paths leading to Rust's panic handler