Veteran perf engineer praises a blog series micro-optimizing date functions down to assembly
vmg · x · 2026-09-12
A Dropbox engineer with 20 years in performance work recommends an obscure but outstanding blog series on micro-optimizing date functions: each post dives into a different function down to assembly, with wild algorithmic tricks — including a new way to compute the weekday from an epoch by exploiting that 7 (days per week) is a Mersenne prime. The series benchmarks implementations for both throughput and latency, rare rigor for micro-optimization.
More from Fun
- Writing as bait: dbreunig on writing for yourself and escaping the AI bubble — dbreunig · 2026-09-12
- Investor Altcap mocks Anthropic ex-employee's claims: 6 weeks of work, now regulatory cause? — mattwbaker · 2026-09-12
- Genie's API caching bug shared garage access across all users — threepointone · 2026-09-12
- Parody: 'GPT-12 Jupiter' Designs an Orbital Rocket in 32 Tokens and 1.2 Seconds — Winter-Mix-5155 · 2026-09-12
- AI Video Physics Are Getting Weirdly Specific: Enter the Tractor Dance — frankbirds7 · 2026-09-12
- Random chicken farmer's reels repeatedly hit 220M views, dwarfing viral tweets — LinusEkenstam · 2026-09-12