DHH’s AI Port of Campfire Reopens the Speed-vs-Readability Debate as Rust Benchmarks Draw Scrutiny

DHH’s AI Port of Campfire Reopens the Speed-vs-Readability Debate as Rust Benchmarks Draw Scrutiny

N
News Editor
2026-10-08 08:46:13
David Heinemeier Hansson, the creator of Rails, has revived a familiar programming-language argument with a new twist: what matters most when AI is writing more of the code. DHH said he had AI port 37signals’ chat app Campfire into Rust, Go, and Elixir, with early tests showing the Rust version handling about 36,000 chat page requests per second versus roughly 240 for the original Ruby implementation. That result pushed him to reconsider a long-held preference for Ruby’s developer productivity and readability. Vercel CEO Guillermo Rauch backed that line of thinking and pointed to Vercel’s own experience migrating roughly 70,000 lines of Go in Turborepo to Rust over 15 months. Even though the team saw Rust as a better fit for low-level systems work, the manual migration cost was high enough to spark internal debate over return on investment. The benchmark quickly came under criticism. Elixir creator José Valim said the compared versions were not equally optimized and did not share the same architecture. He noted that the Rust version had gone through hundreds of commits and several rounds of tuning, while the Elixir version remained close to its initial port. DHH replied that if top AI agents could not discover Elixir optimizations, that limitation also mattered in real-world development. An updated unified test on Oct. 8 showed Rust at about 106,000 requests per second and Go at about 53,000.

David Heinemeier Hansson, better known as DHH and widely known as the creator of Rails, has put a fresh spin on the programming-language debate by tying it to AI-generated code.

He said AI was used to port Campfire, the chat software from 37signals, into Rust, Go, and Elixir. In the first round of tests, the Rust version handled about 36,000 chat page requests per second, while the original Ruby version managed roughly 240.

DHH questions an old trade-off

DHH has long favored Ruby because it helps developers move quickly and keeps code readable. He is now rethinking that premise. If AI writes the code and humans are no longer reading it line by line, he asked, does it still make sense to give up runtime speed for developer convenience.

Vercel CEO Guillermo Rauch endorsed that view. His argument was straightforward: if AI reduces the cost of writing software, languages chosen mainly because they are easier for humans to work with may no longer be the cheapest option for companies.

Vercel’s own Rust migration took 15 months

Rauch pointed to Vercel’s experience with Turborepo. The company spent 15 months moving about 70,000 lines of Go code into Rust. The team believed Rust was a better fit for low-level systems work, but the cost of doing that migration by hand was high enough that the internal return-on-investment case became disputed.

Benchmark results were challenged

The numbers quickly drew criticism from José Valim, the creator of Elixir. After reviewing the repository, he said the Rust version had already gone through hundreds of commits and multiple rounds of performance tuning, while the Elixir version was still close to its initial port.

He also said the architectures were not the same. In the Elixir implementation, database work was concentrated in a single process. The Rust version, by contrast, used optimizations such as concurrent reads and caching. Under those conditions, he argued, it was hard to show how much of the performance gap came from the language itself.

DHH’s reply and the updated test

DHH responded that he had asked top AI agents to push each language as far as possible on performance. If an agent could not find a way to optimize Elixir, he said, that was also part of the reality teams would face in real development.

Work on the different versions continued after that exchange. In an updated unified test published on Oct. 8, the Rust version processed about 106,000 chat page requests per second, while the Go version handled about 53,000. Rust remained about twice as fast.

This article was originally published by Bit.Fan. For more cryptocurrency news and market insights, visit www.bit.fan.
200

Disclaimer:

The market information, project data, and third-party content displayed on this platform are for industry information sharing only and do not constitute any form of investment advice or return commitment.

Cryptocurrency trading carries high risks. Users should fully assess their risk tolerance and make independent decisions. All profits, losses, and legal responsibilities are borne by the users themselves.