Fetching from the wire…
Top 5 · 2026-03-28 · source-backed
I've been skeptical of "just have AI rewrite your codebase" advice because most of it comes from people who haven't actually done it in production. This week, three independent teams published results that changed my mind, with a very specific caveat.
Reco.ai rewrote JSONata (a JSON expression language) from JavaScript to Go. One engineer. Seven hours. $400 in API tokens. The Go version runs 1,000x faster on common expressions, which cascaded into $500,000 per year in cloud savings across their data pipeline processing billions of events. Cloudflare's team did a similar rewrite with vinext. Simon Willison rewrote multiple datasette plugins across languages. All three followed the same pattern.
The pattern: port the test suite first, then implement until green, then shadow-deploy both versions against production traffic, then promote on zero mismatches.
That last part is critical. Reco ran both JSONata and gnata (their Go version) side by side for a full week, comparing outputs on real production data. Shadow deployment isn't optional here. It's what separates "I rewrote something with AI" from "I rewrote something with AI and verified it actually works."
The enabler in every case was the test suite. JSONata has excellent test coverage. Willison's plugins had tests. Cloudflare had tests. The AI doesn't need to understand the problem domain. It needs to produce code in Language B that passes the same tests Language A already passes. Without tests, you're gambling. With tests, you're doing verified translation.
This connects directly to the DryRun Security story (Story #1). The 87% vulnerability rate comes from greenfield AI code generation where there's no reference implementation and no test suite to validate against. Vibe porting with comprehensive tests is a fundamentally different activity. You're constraining the AI's output to match a known-correct behavior, not asking it to invent correct behavior from scratch.
For builders: look at your infrastructure costs. Find the performance-critical component written in Python or JavaScript that processes high volumes and has solid test coverage. That's your vibe porting candidate. The ROI math is simple. Reco spent $400 and saved $500K/year. If your compute bill has a similar bottleneck, this pattern is immediately replicable.
One honest caveat: I don't know how well this works for codebases with poor test coverage. And I don't know what edge cases hide in AI-translated code that tests don't cover. The shadow deployment step is your safety net, but only if your production traffic actually exercises those edge cases.
Each link below shares sources, entities, or timing with this story.
Reco.ai published a case study that might be the clearest cost-benefit story I've seen for AI-assisted development. A single engineer used AI to rewrite JSONata (a JSON expression language written in JavaScript) as a pure Go library called "gnata." Seven hours of work. Roughly...
A month ago, TeamPCP compromised Trivy's GitHub Actions runners. Then they trojanized LiteLLM on PyPI. Now Wiz Research confirms they've expanded to npm via a worm called CanisterWorm, using stolen publish tokens to push malicious packages across JavaScript's package ecosystem...
Willison's June 13 post walks through publishing WebAssembly wheels to PyPI so Python packages run client-side under Pyodide, alongside Datasette 1.0a33 adding JSON "extras" to the API (Simon Willison). He built a throwaway extras-API explorer with Claude Fable 5 to understand...
Simon Willison has been writing software for over 25 years. He's one of the most disciplined, transparent engineers in the Python ecosystem. And yesterday he published an essay admitting he no longer reviews every line of code that Claude Code generates for his production proj...
Willison published 8 posts on February 17 — his most prolific single day in recent memory. Key outputs: (1) Claude Sonnet 4.6 review, noting "similar performance to November's Opus 4.5" at Sonnet pricing, with SVG benchmark tests noting Sonnet 4.6 "consistently added decorativ...
Simon Willison spent a while taking ChatGPT Work apart and published the map on August 30. Work splits into Work Cloud and Work Local, the latter being the renamed Codex desktop app, at $20/month and up since July 9. He enumerates six capabilities Work has that Chat doesn't, a...
MindPattern daily
One email a day at 7 AM. Sources and a take on every story. Unsubscribe anytime.