emilr
Home Blog Research ♥ Sponsor

Rust

← All topics

June 23, 2026 Rust

Why Rust Async Functions Need Pin: A Mental Model

Or: how a compiler trick leads to a surprisingly deep problem. A ground-up explanation of async state machines, self-referential structs, and why Pin exists.

May 28, 2026 Rust

Rust Error Handling That Doesn't Suck

How to structure error types in real Rust projects — going beyond Box<dyn Error> without overengineering.

© 2026 Emil Roydev · Sponsor