wg-async
actix-net
Our great sponsors
wg-async | actix-net | |
---|---|---|
8 | 3 | |
365 | 679 | |
1.6% | 1.3% | |
5.9 | 8.5 | |
27 days ago | 6 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
wg-async
- Async Rust Is A Bad Language
-
Catch 22! Rust in Review
I believe the solution mentioned in rust-lang/wg-async is the way to go: Add traits like AsyncWrite, AsyncRead, Executor/Runtime to the std so that tokio/async-std can implement them.
-
Async Rust: What is a runtime? Here is how tokio works under the hood
This is a consequence of runtimes relying on global variables that their core future types are dependent on. Creating abstractions to solve this problem is one of the main goals of the the async working group [0].
[0]: https://github.com/rust-lang/wg-async
-
How should I structure an async/await/futures program with multiple event sources and mutable state?
Provided the futures you're selecting over are cancellation safe the plain loop over select! should be fine. Multiple channels in particular are safe to select over - if you have futures that aren't cancellation safe, you can just wrap them up in a task on the end of a channel and then select on that.
- Monoio – A thread-per-core Rust async runtime with io_uring
-
What Rust feature are you waiting for?
I'd like to be able to write runtime agnostic async libs.
-
Rust Weird Expressions
You might be interested in taking a look at and potentially participating in the "Async Vision Document"[1] which is an exercise the team is going through to collect feedback about the current state of the ecosystem and what the pain points are, as well as a way to lay doing what the desired future state of async Rust should be[2]. The process is happening, as you would expect, in the open and there's still time to influence it[3] if your concerns aren't yet addressed or even mentioned[4].
[1]: https://rust-lang.github.io/wg-async-foundations/vision.html
[2]: https://blog.rust-lang.org/2021/03/18/async-vision-doc.html
[3]: https://github.com/rust-lang/wg-async-foundations/pulls
[4]: https://github.com/rust-lang/wg-async-foundations/issues
-
Building a shared vision for Async Rust
Thanks for the feedback. I posted this comment to a relevant github issue, fyi.
actix-net
-
Monoio – A thread-per-core Rust async runtime with io_uring
> Have any other Rust async runtimes use io_uring/gotten at all good yet?
yes, check out `actix-rt`
https://github.com/actix/actix-net
-
Weird architectures weren't supported to begin with
> For example, this method violates memory safety by handing out multiple mutable references to the same data, which can lead to e.g. a use-after-free vulnerability. I have reported the issue to the maintainers, but they have refused to investigate it. _(issue now deleted)_
-
Having trouble using async libraries
It has been tokio and v1 support is in progress on master branch: https://github.com/actix/actix-net/blob/master/actix-rt/Cargo.toml
What are some alternatives?
smol - A small and fast async runtime for Rust
ntex - framework for composable networking services
ideas4 - An Additional 100 Ideas for Computing https://samsquire.github.io/ideas4/
te - A parser, runtime and specification for the text expression language to make text processing human readable
delimited
crater - Run experiments across parts of the Rust ecosystem!
miniserve - 🌟 For when you really just want to serve some files over HTTP right now!
rlimit - Resource limits
cortex-m-rt - Minimal startup / runtime for Cortex-M microcontrollers
monoio - Rust async runtime based on io-uring.
actix-web-postmortem - Actix project postmortem