Re:Tokio 1.0 – async runtime for Rust
by dangerbird2 on Wednesday December 23, 2020 @02:34PM
(#25521226)
It's similar. libdispatch is primarily a task queue to simplify and optimize multithreaded workloads in objc/swift. Tokio uses a similar task queue pattern for scheduling cpu-bound or blocking io, but the main feature is an non-blocking/asynchronous IO runtime. Overall, it's more similar to libuv (the async io library that powers node.js), but with built-in support for Rust's async/await syntax
[ Parent
| on HN ]