DHH rewrites ttfx in asm with AI, hitting 8x mean speedup on an Intel 135U
olcan · x · 2026-09-27
DHH shared his performance journey with ttfx: the Rust version had been through many improvements, but even hours of frontier-model intelligence was yielding very modest gains. Leaping to hand-tuned assembly brought huge improvements — now an 8x mean speedup on an Intel 135U. Commenters argue AI will "roofline" all software, pushing everything toward hardware limits.
- Rust optimization hit diminishing returns
- The asm rewrite delivered a massive leap
- Takeaway: AI-driven optimization may push all software toward hardware ceilings
More from coding & agent
- Real-time WebGL animated film in a single 162KB HTML file, made with Claude Opus 5.5 — EricBuess · 2026-09-27
- Using Jev as a fuzzy linter for AI coding agents: split guidelines into judgeable micro-rules with synthetic evals — mattpocockuk · 2026-09-27
- Dev builds SDF modeling engine from scratch in C++/Vulkan with AI-generated scenes — bilawalsidhu · 2026-09-27
- MCP isn't the USB-C of AI: LLMs improvise, so put a deterministic runtime in charge — ThomasBuildLab · 2026-09-27
- Indie Dev Adds MCP to His Website Monitoring Tool So AI Agents Can Check Sites — bincura · 2026-09-27
- Claude Opus 5.5 One-Shots a Launch Video, Hailed as Solving Video Animation — JosephJacks_ · 2026-09-27