The Memory Layout of Rust Enums: Discriminants, Niche Optimization, and Alignment
The Silent Memory Inflation of Rust Enums: Cache Line Thrashing and the Mechanics of Niche Exploitation
Oct 2, 20267 min read

Search for a command to run...
Series
The Silent Memory Inflation of Rust Enums: Cache Line Thrashing and the Mechanics of Niche Exploitation

The Latency Cost of sched_yield: Cache Eviction and TLB Thrashing in Production Runtimes

Branch Mispredictions, Cache Lines, and the Cost of Fat Pointers

Understanding the fork() function

Understanding Heap Allocations in Rust

Designing a Framework-Free Publishing Utility with HTML5, localStorage, and Browser APIs
