async
Asynchronous drain for slog-rs v2 (by slog-rs)
generator-rs
rust stackful generator library (by Xudong-Huang)
Our great sponsors
async | generator-rs | |
---|---|---|
1 | 3 | |
27 | 266 | |
- | - | |
4.0 | 7.3 | |
12 days ago | 22 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.
async
Posts with mentions or reviews of async.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-02-22.
-
Hey Rustaceans! Got an easy question? Ask here (8/2021)!
I get the impression most of the time people are doing their Rust logging in the business thread, as opposed to using something like slog-async. For example, this repo only has 18 stars, whilst slog has 1.1k stars. Is it right to draw the conclusion that logging in a separate thread using an mpsc channel or something isn't typically a good idea?
generator-rs
Posts with mentions or reviews of generator-rs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
-
What's the Benefit/Allure of Async/Await vs. CSP/Green Threads (and Other Concurrency Models)?
lot of unsafe code assumes you can't leak stackframes, which suspendable APIs however inherently can, hence why scoped tasks are unsound. This is not different with green threads, see for example this issue in generator, the library that may uses for green threads.
- What is the next big thing coming to Rust
-
Hey Rustaceans! Got an easy question? Ask here (8/2021)!
Using crates like generator (for Iterator) or async-stream (for Stream). Both have nice usage examples.
What are some alternatives?
When comparing async and generator-rs you can also consider the following projects:
slog - Structured, contextual, extensible, composable logging for Rust
genawaiter - Stackless generators on stable Rust.
hashes - Collection of cryptographic hash functions written in pure Rust
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
cflisp - A C compiler for digiflisp asm. Written in Rust
rfcs - RFCs for changes to Rust
oxidoist-api - A Rust Crate providing an API wrapper for Todoist.
book - The Rust Programming Language
wincompose - 🔣 Compose Key for Windows