Latest posts
Why Every Rust Developer Should Read the Rustonomicon
The Rustonomicon isn’t just about unsafe code. It teaches data layout, variance, drop mechanics, and how the language actually works under the hood.
Variance and PhantomData in Rust
How Rust’s variance system works, why std:🧵:Scope needs invariant lifetimes, and what PhantomData actually does to prevent use-after-free.
Rust Memory Layout Under the Hood
A visual guide to how Rust lays out structs, Vec, String, smart pointers, and trait objects in memory — alignment rules, field reordering, and the byte-level details that shape your program’s performance.
Building an AI Coach That Sees Your Factorio Factory
How I built factorio-sensei — a Rust CLI that connects Claude to a live Factorio game via RCON and gives real-time coaching advice based on actual game state.