streaming
genawaiter
Our great sponsors
streaming | genawaiter | |
---|---|---|
1 | 11 | |
102 | 428 | |
- | - | |
0.0 | 0.0 | |
almost 6 years ago | almost 2 years ago | |
Haskell | Rust | |
BSD 3-clause "New" or "Revised" License | - |
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.
streaming
-
Do not wait for Rust generators
There are plenty of generator-like libraries for haskell: pipes; whatever snoyman's alternative to pipes was (conduit, I think); streaming; and more.
genawaiter
-
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.
-
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?
CTRex - Open records for Haskell
rust-rdkafka - A fully asynchronous, futures-based Kafka client library for Rust based on librdkafka
gps2htmlReport - Generates a HTML page report detailing a GPS journey, with charts, statistics and an OpenStreetMap graphic.
kbio - Another Async IO Framework based on io_uring
streaming-commons - Common lower-level functions needed by various streaming data libraries
polonius - Defines the Rust borrow checker.
streaming-fft - sliding fast fourier transform using haskell streaming
rocket-lamb - A crate to allow running a Rocket webserver as an AWS Lambda Function with API Gateway or an Application Load Balancer
streaming-utils - experimental http, attoparsec and pipes material for `streaming` and `streaming-bytestring`
generator-rs - rust stackful generator library
RFC1751 - RFC-1751 library for Haskell
srgb.rs - Implementation of sRGB primitives and constants