Tokio 1.0 – async runtime for Rust
1–10 of 422 posts
Re: Tokio 1.0 – async runtime for Rust
#2Re: Tokio 1.0 – async runtime for Rust
#3Re: Tokio 1.0 – async runtime for Rust
#4Re: Tokio 1.0 – async runtime for Rust
#5Re: Tokio 1.0 – async runtime for Rust
#6Re: Tokio 1.0 – async runtime for Rust
#7They mention working on using io_uring for filesystem calls for 2021. I wonder if there will be an option to use io_uring (instead of epoll) for networking calls as well? Handling network packets and events completely in userspace should allow for lower latency due to no more context switches to and from the Kernel, right?
Re: Tokio 1.0 – async runtime for Rust
#8Re: Tokio 1.0 – async runtime for Rust
#9Can someone explain to a non-rustacean what Tokio introduces that's not part of Rust? It looks like Rust provides the async/await semantics, so I'm guessing this is an event loop and dispatching system?
> An async fn is used as we want to enter an asynchronous context. However, asynchronous functions must be executed by a runtime. The runtime contains the asynchronous task scheduler, provides evented I/O, timers, etc.
Re: Tokio 1.0 – async runtime for Rust
#10Can someone explain to a non-rustacean what Tokio introduces that's not part of Rust? It looks like Rust provides the async/await semantics, so I'm guessing this is an event loop and dispatching system?
Besides that it provides lots of utilities for working with async code.