rust-generator-benchmark
Benchmarking different Rust generator libraries in a real world use case. (by Tuupertunut)
genawaiter
Stackless generators on stable Rust. (by whatisaphone)
rust-generator-benchmark | genawaiter | |
---|---|---|
2 | 11 | |
23 | 456 | |
- | 2.9% | |
0.0 | 0.0 | |
about 1 year ago | almost 3 years ago | |
HTML | Rust | |
- | - |
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-generator-benchmark
Posts with mentions or reviews of rust-generator-benchmark.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-11.
-
Do not wait for Rust generators
See also Tuupertunut/rust-generator-benchmark
- Benchmarking different Rust generator libraries in a real world use case (native vs genawaiter vs next-gen...)
genawaiter
Posts with mentions or reviews of genawaiter.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-07.
-
Letlang — Roadblocks and how to overcome them - My programming language targeting Rust
Yes, Letlang is translated to Rust and the runtime is implemented in Rust, using tokio and genawaiter. The compiler itself is also built in Rust.
-
Hey Rustaceans! Got a question? Ask here (7/2023)!
(note that genawaiter itself doesn't support no_std environments, but there's a merge request for that.)
- What is the next big thing coming to Rust
-
A personal list of Rust grievances
> `async` to make fake generators.
Genawaiter[0] is one of them.
[0]: https://github.com/whatisaphone/genawaiter
-
Generalizing coroutines - The Rust Language Design Team
Are you aware of the genawaiter crate?
-
Do not wait for Rust generators
A warning though: genawaiter doesn't seem to be maintained. The last commit is 2 years old, and issues are not active (I opened one that I find somewhat critical: https://github.com/whatisaphone/genawaiter/issues/35).
-
Hey Rustaceans! Got an easy question? Ask here (46/2021)!
There's e.g. https://github.com/whatisaphone/genawaiter, but you can also use yield directly (https://doc.rust-lang.org/beta/unstable-book/language-features/generators.html).
- What feature would you like to see implemented/stabilized?
- What's the outlook on generator functions in Rust?
-
Generators in Rust?
If you're interested in something that can be used right now, on stable, you should take a look at the genawaiter crate, it reimplements generators with async.
What are some alternatives?
When comparing rust-generator-benchmark and genawaiter you can also consider the following projects:
streaming - An optimized general monad transformer for streaming applications, with a simple prelude of functions
generator-rs - rust stackful generator library
elaboration-zoo - Minimal implementations for dependent type checking and elaboration
rust-rdkafka - A fully asynchronous, futures-based Kafka client library for Rust based on librdkafka
lang-team - Home of the Rust lang team
kbio - Another Async IO Framework based on io_uring