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.

Original post →

More from coding & agent

coding & agent channel →