Tokio internals: Understanding Rust’s asynchronous I/O framework, bottom up

Tokio is a Rust framework for developing
applications which perform asynchronous I/O — an event-driven
approach that can often achieve better scalability, performance, and
resource usage than conventional synchronous I/O. Unfortunately, Tokio
is notorio… Read more


Abstracting over mutability in Rust

It is common to see the statement that “Rust cannot abstract over mutability”. Indeed, many functions in the standard library have an immutable and a mutable variant, e.g. RefCell::borrow() and RefCell::borrow_mut(). However, in some cases, such as...

Read more »