All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Company Uses AI to Rewrite JSONata in Go, Achieving 1,000x Speedup and $500K Annual Savings

By

cjlm

2mo ago· 8 min readenInsight

Summary

A company used AI to rewrite JSONata, a JSON transformation language, as a pure-Go library called gnata in just seven hours with $400 in AI tokens. This resulted in a 1,000x performance improvement and projected annual savings of $500,000 on cloud infrastructure costs. The approach was inspired by Cloudflare's similar AI-driven rewrite of Next.js, demonstrating how AI can rapidly reimplement existing software with significant efficiency gains.

Key quotes

· 4 pulled
One engineer used AI to rewrite JSONata as a pure-Go library called gnata.
Seven hours, $400 in tokens, 1,000x speedup, and $500K/year off our cloud bill.
They took the existing Next.js spec and test suite, then pointed AI at it and had it implement code until every test passed.
Midway through reading, I realized we had the exact same problem - only in our case, it was with our JSON transformation pipeline.
Snippet from the RSS feed
One engineer used AI to rewrite JSONata as a pure-Go library called gnata. Seven hours, $400 in tokens, 1,000x speedup, and $500K/year off our cloud bill.

You might also wanna read