Async Rust can be a pleasure to work with (without Send + Sync + 'static
)
Async Rust can be a pleasure to work with (without Send + Sync + 'static
)
emschwartz.me Async Rust can be a pleasure to work with (without `Send + Sync + 'static`)
Async Rust is powerful. And it can be a pain to work with (and learn). Async Rust can be a pleasure to work with, though, if we can do it without `Send + Sync + 'static`.
You're viewing a single thread.
All Comments
8 comments
Despite using Tokio underneath, I think that Actix does NOT do work stealing and uses mostly separate threads:
Given this architecture, I think the article might inaccurate when it says that Actix handlers must be Send + Sync. See also: https://www.reddit.com/r/rust/comments/14cbe1u/why_does_actixwebs_handler_not_require_send/
Actix is a bit weird, but it has been around, and used in production, for a relatively long time.
4 0 Reply
8 comments
Scroll to top