AI-rewritten libtiff closes gap to ~10x of C version, fueling hopes of retiring buggy C libs
jd_pressman · x · 2026-10-15
- jdpressman reports progress on an AI-rewritten libtiff, now only about 10x slower than the C original
- A 43-minute automated optimization pass targeted repeated JPEG table construction, Deflate Huffman searches, and bit-reading overhead: Booth JPEG dropped from 587ms to 80ms (7.33x speedup)
- Across 26 workloads the rewrite is 1.38x faster than the previous version; only tiled RGB LZW is 12.4% slower
- The author's thesis: once AI rewrites reach near-parity, buggy C library code could be hunted to extinction, eliminating many potential zero-days
More from coding & agent
- Entire Minecraft Crammed Into Elden Ring as an AI-Built Mod — DeryaTR_ · 2026-10-15
- Claude Platform Public Beta Sends OpenTelemetry Traces to Your Stack — samuelcolvin · 2026-10-15
- Indie dev builds a MOBA in one week with Opus 5.5: 24 heroes, 3 battlegrounds — TAbrodi · 2026-10-15
- AI-built MOBA hits 13.1K plays and 11.3K players in its first week — TAbrodi · 2026-10-15
- Paige Bailey: Ship an Eval People Care About and You Own What Labs Hill-Climb On — DynamicWebPaige · 2026-10-15
- Voice-braindump to PRs: one dev's four-step workflow routing tasks across ten cloud agent projects — vinvan · 2026-10-15