AI agent writes JPEG decoder in 4 hours that nearly doubles libjpeg-turbo speed
janusch_patas · x · 2026-12-06
A developer asked the Neon coding agent to build "the fastest JPEG decoder" from its underlying math. Within 4 hours, it reached nearly 2x the decoding speed of the top human-optimized libjpeg-turbo, hitting 65% of peak theoretical performance.
Benchmarks show the AVX-512 build decoding 1080p test images at 1.7-2.0x libjpeg-turbo's speed (e.g. 861.3 MP/s, 2.01x on a q85 grayscale image), with AVX2 at 1.5-1.9x.
The takeaway, as the author puts it: "You can just make ridiculous wishes" — AI agents now outperform elite human optimization work on highly specialized tasks.
More from coding & agent
- Step-by-step tutorial: Deploy a PydanticAI agent with Docker, Cloud Run and GitHub Actions — Al_Grigor · 2026-12-06
- Astra 6.2 builds a cozy village-builder game; dev open-sources the game-dev Skills — Promptmethus · 2026-12-06
- Custom Ultramarine theme released for NousResearch's Hermes Agent Desktop — Teknium · 2026-12-06
- Build an interactive Earth with AI agents on NASA's free petabyte-scale open data — Promptmethus · 2026-12-06
- 11.2B open model Apprentice impresses as subagent: zero sycophancy, one big blindspot — tokenbender · 2026-12-06
- Karpathy's LLM Wiki pattern spawns 15 repos with 396K+ stars: let agents maintain your notes — solyarisoftware · 2026-12-06