Elixir struggled on gaming PCs, so Claude rewrote the engine in Rust
A space economy sim where nothing is scripted: a few hundred ships each run their own planner, markets price off supply. Built pairing with Claude, which also rewrote the engine from Elixir to Rust.
Done withClaudeSpotted· by HN user kalcode· Oct 29, 2026
Result About 485 ships at roughly 10-20ms a tick
“It started as an Elixir/Phoenix prototype, but the BEAM scheduler struggled on Windows gaming PCs, so I had Claude rewrite the engine in Rust.”
Spotted: found in the wild. Details are as reported by the source above and have not been independently verified.
What they did
The writer always wanted to tinker with a simulated economy and loves space themes, so they built one with Claude: a few hundred autonomous ships each run their own planner, chasing trade routes and contracts, while markets, factions and populations react. It began as an Elixir/Phoenix prototype; when the BEAM scheduler struggled on Windows gaming PCs, they had Claude rewrite the engine in Rust, embedded in a Bevy client.
How it went
It runs about 485 agents at roughly 10-20ms per tick, and the writer has pushed it into the thousands; reaching 100k has been a struggle. It’s a sandbox, not a game yet, and they say pairing with Claude is how they had the bandwidth to take it this far.
Try it yourself with Claude
Help me build a self-running [space economy] simulation: [a few hundred] autonomous ships, each with its own planner, trading on markets that price off supply. Keep the simulation core pure and separate from the renderer so it can run as a library. Start with a small version I can run and measure, and show me the tick times before we scale up.
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.
Wanting Claude's help with Haiku software and OS issues, they spent $30 of Claude API credit on a USB UAC 2 audio driver for Focusrite Scarlett devices. Haiku's AI policy keeps it from going upstream.
Copy-pasting others' TLA+ specs risked missing attribution. Claude built a small Rust package manager that renames modules to avoid collisions. It took about 30 minutes of fighting, but it worked.
A $5-a-month product, then $20, then a rewrite at $10 and $50 a month. A day after launch came a $360 payment: a Yearly option on the $50 plan, with a discount, that Claude had added without them realizing.
Harvest's ~$100/yr Solo time-tracking plan went up 2.5x for a more restricted plan, or $20,000/yr to keep the old one. With their data downloaded, Claude vibecoded a fully-featured clone in one evening.
Asked for a web-based Rust email client from scratch that could talk to a JMAP server, Claude wrote it in about 20 minutes. It needed some bugs pointed out and lacks features, but it works.
A tag-based file recommender kept missing the mark with Claude. ChatGPT turned the problem into one precise paragraph. Handed back to Claude, it clicked, and a working solution came out without any drama.