Writing an Async Runtime in Rust
Summary
A deep, code-rich exploration of building an async runtime in Rust from first principles. It starts with non-blocking I/O concepts (kqueue/epoll), introduces a no-dependency approach, and walks through implementing a Poller, Reactor, and Executor, with Rust-specific waker mechanics and a JavaScript analogy for event loops. The piece also reflects on design decisions, tradeoffs, and how this contrasts with Tokio.