Notes on systems programming. Mostly the parts that surprised me.
- Monomorphisation is why your binary is bigZero-cost at runtime is not zero-cost at build time, and the bill arrives in bytes.5 July 2026 · rust
- What Pin actually guaranteesLess than people assume, and precisely enough to make self-referential futures sound.27 April 2026 · rust
- Rust's ? is not exception handlingIt looks like a throw. It is a return.11 February 2026 · rust
- Who ends up in TIME_WAITNot whoever you think. It is decided by who closes first, and that decides whose problem it is.3 December 2025 · networking
- False sharing costs more than you thinkTwo counters that have nothing to do with each other, sharing 64 bytes, can cost you an order of magnitude.14 October 2025 · performance
- epoll: edge-triggered is a contract, not an optimisationEPOLLET does not make epoll faster by itself. It moves an obligation onto you.9 August 2025 · networking
All 9 posts →