DHH's Campfire benchmark is flawed, and still right
DHH had agents port Campfire to Elixir, Go, and Rust. The Elixir numbers are wrong, the core argument holds, and none of these languages is the end state.
On 4 October DHH posted a table comparing five Campfire workloads across four languages, with the room page running at 244 requests a second on Rails, 722 on Elixir, 3,860 on Go, and 36,260 on Rust. Agents wrote and optimised the three ports, and his point was blunt: Ruby being slow never bothered him while the trade bought productivity and developer joy, "but if you're no longer reading the code?"
His Rails World keynote made the Rust claims with no published benchmark behind them; now the repos are public, and within two days the Elixir community proved the Elixir column is broken. I agree with their critique, and I still draw the same conclusion.
Campfire was measured on five workloads
The Campfire README reports throughput in requests per second:
| Workload | Rails | Elixir | Go | Rust |
|---|---|---|---|---|
| Room page | 244 | 722 | 3,860 | 36,260 |
| Messages page | 424 | 1,053 | 5,573 | 40,872 |
| Sidebar | 556 | 1,275 | 19,753 | 34,672 |
| Search | 432 | 1,156 | 7,053 | 33,299 |
| Post a message | 258 | 801 | 4,767 | 6,896 |
The test used 16 concurrent clients on an AMD Ryzen AI MAX+ 395 with four hardware threads per app, keeping Campfire's SQLite database and checking behaviour against the Rails suite (the Elixir port reports 65 parity gates and 1,896 passing tests). None of these ports runs in production at 37signals, and no real Campfire install needs 36,000 requests a second.
The Elixir port serialises database reads
I've run Elixir and Phoenix in production for years on a care-placement profile app and a schools competition judging system, and the official port isn't how anyone on the BEAM would build a chat app. It copies the Rails structure directly, routing every database query through a single GenServer, keeping Redis on the critical path, and emulating Rack and Resque; a runtime built for concurrency ended up queueing its reads behind one process.
Fixes landed fast. Zach Daniel opened a pull request that pools SQLite connections, compiles routes into pattern matches, drops Redis, and stops Bandit WebSockets disconnecting every 60 seconds, taking the room page from roughly 800 requests a second to between 2,600 and 4,100. More tellingly, in his 64-client concurrent posting test, Elixir delivered every message with zero disconnects while Rust delivered 1% to 9% and dropped several hundred clients. Kurt Melby pushed further with response caching to hit 12,130 requests a second (up from 1,226 on his hardware) and cut peak memory from 1,472 MiB to 369 MiB, though automated review flagged cache correctness bugs and parity gates haven't run on it. A separate idiomatic Phoenix rewrite hits roughly 2.5x the official port and notes that Go got its own optimisation pass plus work inherited from Rust, while Elixir didn't.
Needing an expert to fix it is the result
DHH answered that objection upfront: "If your answer here is "frontier agents aren't good at writing Elixir or Go", then it only makes the argument worse. Any programming language that agents can't write well out of the box is going to have a hard time in the future." Almir Sarajčić made the same point from inside the Elixir camp, noting that explaining what an expert would have done doesn't remove the need for the expert, and if agents reliably write better Rust for the tokens he spends, he'll pick Rust.
Given the same Rails app and brief, agents produced fast Rust and an Elixir port that needed two well-known Elixir maintainers to repair by hand. The flawed 722 figure measures what an unassisted agent outputs today, and that's the number that counts once agents do the writing; I wouldn't treat it as permanent since those PRs are now public training data, though a language's ergonomics for agents still matter.
The work is moving from syntax to managing agents
Arguing over idiom misses what's actually changing, because choosing a connection pool over a GenServer is turning into a second-pass fix an agent makes once a benchmark flags slow throughput. What stays with us is deciding what to build, specifying the behaviour tightly enough to verify, and running the agents; Campfire's ports worked in hours because the Rails app acted as an executable spec, the same pattern I use when treating tests as contracts for AI agents.
Choose the language by output per unit of cost
Once humans stop reading the code, a language has two costs left: the tokens spent producing and changing it, and the servers required to run it. A July 2026 study across Python, Java, Rust, and OCaml found Rust used 1.16x to 1.36x Python's tokens on two frontier models as agents fought the compiler, and DHH's follow-up noted slow compile times slowing down every agent loop. Still, serving 149x Rails on the room page (and 27x on the SQLite-bound write path) for a third more tokens is an easy infrastructure trade, which is why my own stack is moving toward Rust and Elixir.
None of these languages is the end state
Ruby, Go, Elixir, and Rust were all built for human eyes and keyboards, whether optimising for author happiness, team readability, process reasoning, or compiler guardrails. I don't expect any of today's languages to survive unchanged in ten years; I expect languages built specifically for agents that are cheap in tokens, strict enough for the toolchain to reject bad code before tests run, fast to compile across thousands of daily loops, and close enough to the machine to keep hosting bills small. Rust won this table because it's the closest thing we have this year.