copyless
[deprecated] Avoid memcpy calls when working with standard containers (by kvark)
flexstr
A flexible, simple to use, immutable, clone-efficient String replacement for Rust (by nu11ptr)
copyless | flexstr | |
---|---|---|
2 | 8 | |
276 | 149 | |
- | 0.7% | |
0.0 | 0.0 | |
over 2 years ago | 6 months 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.
copyless
Posts with mentions or reviews of copyless.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-17.
-
Is Rust Stack-Efficient Yet?
This crate is marked as deprecated because apparently upstream rust optimises its use-case now, but you never know:
https://github.com/kvark/copyless
Box::alloc().init(make_my_elem())
-
No more stack overflow on large Boxed arrays? (see bottom comment)
The copyless crate can help make it more likely that this optimization will happen.
flexstr
Posts with mentions or reviews of flexstr.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-17.
-
Consuming Vec<T> during pattern matching, where T is not Copy, but Clone
https://crates.io/crates/flexstr
-
Is Rust Stack-Efficient Yet?
Not sure I follow the question exactly and tbh it was like a year ago and I forget the specifics. You are welcome to look at the code, however:
https://github.com/nu11ptr/flexstr/blob/master/flexstr/src/b...
-
Should Rust have something like go generate?
templates: https://github.com/nu11ptr/flexstr/tree/str_generics/generate
-
FlexGen: Generate beautiful looking Rust source code
BStr Example CStr Example OsStr Example
-
FlexStr 0.9.0 Released
Github | Crates.io | Docs.rs
-
FlexStr - 0.8 Released
[Github](https://github.com/nu11ptr/flexstr) | [Crates.io](https://crates.io/crates/flexstr) | [Docs.rs](https://docs.rs/flexstr/latest/flexstr/) | [Benchmarks](https://github.com/nu11ptr/flexstr/blob/master/benchmarks/README.md)
- FlexStr – A flexible, simple to use, immutable, clone-efficient String replacement for Rust. It unifies literals, inlined, and heap allocated strings into a single type.
- Show HN: FlexStr – An immutable, clone-efficient String replacement for Rust
What are some alternatives?
When comparing copyless and flexstr you can also consider the following projects:
compiler-explorer - Run compilers interactively from your web browser and interact with the assembly
string-cache - String interning for Rust
rust - Empowering everyone to build reliable and efficient software.
readable - Human readable strings
rfcs - RFCs for changes to Rust
opentelemetry-rust - The Rust OpenTelemetry implementation
trc - A faster Arc.
sqlc - Generate type-safe code from SQL
miri - An interpreter for Rust's mid-level intermediate representation