A place for all things related to the Rust programming language—an open-source systems language that emphasizes performance, reliability, and productivity.
Posts must reference Rust or relate to things using Rust. For content that does not, use a text post to explain its relevance.
If criticizing a project on GitHub, you may not link directly to the project's issue tracker. Please create a read-only mirror and link that instead.
Asynchronous Programming in Rust is meant to be the “missing” book that teaches you asynchronous programming from first principles. One of its core features is the examples and experiments we create that you later can pick apart, break, expand on. You get theoretical knowledge, useful mental models and hands-on experience that will make the complex topics surrounding asynchronous programming a lot easier to grasp.
In this book, we explore fibers and green threads, async/await, non-blocking I/O, epoll, kqueue and IOCP, FFI, syscalls, runtimes, executors, wakers, pinning and much more. You’ll learn a lot about asynchronous programming that’s applicable to just about all programming languages, and you will learn everything you need to know about asynchronous programming in Rust.