Your brand hereYour brand hereYour brand hereYour brand hereYour brand hereYour brand here
Agents in the Wild

A designer's paper sketch of prime numbers became C++ that runs 3.1x faster

It started as a hand-drawn layout for primes by a graphic designer. Gemini and ChatGPT turned it into C++, and the ~3.1x speedup came from cache use, not new math.

Done withGeminiChatGPTSpotted· by HN user amadeapewe· Oct 17, 2026

Result The speedup came from cache, not new math

“The speedup (~3.1x on M1) isn't from new math, but from optimizing how data sits in the cache.”
From the source: Hacker News · 2026-01-23

Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.

What they did

They spent time visualizing prime number distributions on paper and found a geometric layout that felt memory-efficient. With help from Gemini and ChatGPT, they translated that idea into a C++ implementation using an 8-pipe wheel packed into a single byte to cut memory traffic.

How it went

The approach produced a real speedup, about 3.1x on an M1 chip, which came from improving cache locality rather than any new algorithm, and they shared it for a sanity check from the systems community.

Try it yourself with Gemini
Sketch out your own idea for a data layout or algorithm on paper first, then describe it in plain language to Gemini or ChatGPT and ask it to translate your idea into working code in your target language. Benchmark the result against a naive baseline to see whether your layout idea actually pays off in practice.

A starting prompt written by Agents in the Wild. Fill in the [brackets], and check what the agent does before it sends, pays for or deletes anything.

Keep browsing

All 20 Gemini use casesAll 90 Engineering use cases
Your brand hereYour brand hereYour brand hereYour brand hereYour brand hereYour brand here

Advertise on Agents in the Wild

Reach the people building and buying AI agents.

Every pageSidebars + phone strips
High-intentBuilders, not browsers
20/20Spots left

How it works

Your brand appears in rotating sponsor slots on desktop sidebars and in the scrolling sponsor strips at the top and bottom of the screen on phones, across every Agents in the Wild page. Sponsors rotate every 10 seconds so every advertiser gets fair visibility.

Pricing

Monthly rate: $250/month

Reserve your spot ($250/month) →

Billed monthly through Stripe. Cancel anytime. See the sponsor terms.

Submit an agent in the wild

Have an agent doing real work, or spotted one? Send the link and tell us the result. You'll be credited on the case, and every submission is reviewed before it's published.

By submitting, you agree to our Terms and Privacy Policy.