{"slug": "rails-originator-roasted-over-rust-boosterism", "title": "Rails originator roasted over Rust boosterism", "summary": "David Heinemeier Hansson, creator of Ruby on Rails, posted benchmark results on Sunday claiming AI-agent rewrites of his company's Campfire group chat app in Rust, Go, and Elixir outperformed the original Ruby on Rails implementation, with the Rust version serving 36,260 requests per second on a \"room page\" versus 241 for Ruby on Rails, 722 for Elixir, and 3,860 for Go. The post, which drew over 900,000 views as of press time, was met with skepticism from observers who concluded DHH had optimized the Rust results but not the other languages. DHH said each rewrite took only a few hours and argued that \"when agents write the code and validate the output, we need to adjust to a new reality.", "body_md": "[devops](https://www.theregister.com/tag/devops)\n                \n# \n    Rails originator roasted over Rust boosterism\n\n        David Heinemeier Hansson's agent-coded bakeoff produced curious results\n    \n\n \nLast month at Rails World 2026, Ruby on Rails creator David Heinemeier Hansson gave a [relentlessly optimistic keynote](https://www.youtube.com/watch?v=vDjW_dRyKXY&list=WL&index=7) in which he suggested AI has all but eliminated the need for developers to manually write code. \n\nBut perhaps DHH, as he is known online, shouldn’t delete his code editor quite yet.\n\nOn Sunday, DHH [posted](https://x.com/dhh/status/2106810173683851564) about a test in which he had frontier agents implement and optimize his company’s [Campfire](https://once.com/campfire) group chat app in three languages: Elixir, Go, and Rust. He then compared the runtime performance of those versions with the original Ruby on Rails implementation.\n\nDHH’s post includes data that seemingly demonstrates the efficiency of the Rust programming language, and AI agent coding itself. But many observers came to another conclusion: Don't trust DHH’s benchmarks. \n\nAs of press time, the post and accompanying chart garnered over 900,000 views. It showed the Rust rewrite of the chat app outperformed others by a wide margin on five tasks, including searching or posting a message. \n\nDHH did not say which AI services he used for these rewrites, but noted that each rewrite took only a few hours, as the original code itself, [largely written in Ruby](https://github.com/basecamp/once-campfire), is relatively compact.\n\nMany observers, notably advocates of other languages, quickly surmised from the source material that DHH had optimized the Rust results but didn't do the same for the other languages he tested. \n\n### Whither high-level languages?\n\nRewriting applications in Rust, often with the help of AI agents, seems to be a popular undertaking these days, with Microsoft's [Copilot runtime](https://www.theregister.com/devops/2026/09/18/microsoft-agentically-ports-copilot-runtime-to-rust-for-120k/5297549), the [pnpm JavaScript installer](https://www.theregister.com/devops/2026/09/04/javascript-installer-pnpm-recast-in-rust-because-ecmascript-cant-keep-up/5294394), and the [Bun JavaScript toolchain](https://www.theregister.com/devops/2026/07/14/zig-creator-calls-buns-claude-rust-rewrite-unreviewed-slop/5270743) all getting the Rust treatment.\n\nIn DHH’s test, the Rust implementation handily bested the others across all five workloads, sometimes by a wide margin. To serve a “room page,” for instance, Rust knocked out 36,260 requests per second. In contrast, Ruby on Rails was only able to fulfill a paltry 241 requests, while Elixir delivered 722 requests, and even runner-up Golang only knocked out 3,860 requests a second.\n\nRust executed the other tasks with similar alacrity, easily besting the other languages DHH used. \n\nThe takeaway was obvious to DHH: Rewriting an application in Rust, or better yet having AI agents do the job, may very well result in major performance improvements for an app.\n\nDHH suggested that many factors go into choosing a programming language for a particular job, and execution speed is not the sole criterion. Rust can be agonizingly slow to compile, and for many, writing or even reading Rust code is an arduous job. \n\nDHH himself began developing Rails in 2003 while building Basecamp in the then relatively obscure Ruby programming language to ease the developer experience. He doesn’t seem to mind that Ruby ranked the slowest in his own tests. \n\n“I didn't care about [performance] when the pay-off was huge in terms of productivity and developer joy.” \n\nBut AI agents don’t give a hoot about joy.\n\n“You really have to bury your head in the sand not to see that when agents write the code and validate the output, we need to adjust to a new reality,” he wrote.\n\n### Chips on the table\n\nDHH’s ad-hoc test was quickly met with skepticism, criticism and outright mockery, especially on X. (It’s as if DHH’s [conservative views on immigration](https://www.theregister.com/software/2026/09/17/omarchy-gains-185m-in-backing-fresh-converts-and-fierce-critics/5296780) and his work [to bring yet another Linux desktop](https://www.theregister.com/os-platforms/2026/08/27/omarchy-distro-gains-serious-backing/5293026) into the world didn’t give him enough headaches).\n\n“What worries me about the future of programming is you see this and don’t immediately know there must be something wrong with the results or what you actually measured,” wrote prominent Google engineer Jaana Dogan in [an X response](https://x.com/rakyll/status/2107441266695020914) to DHH’s tests.\n\nDogan did not elaborate on the test’s shortcomings, but many others, especially advocates of other languages, were more than happy to provide details. \n\nOne Elixir advocate called DHH’s implementation “[moronic](https://x.com/ZachSDaniel1/status/2106820451557073175),” while a couple of others actually [rewrote the Elixir code](https://x.com/laut/status/2107188324326932789) to make its performance comparable to Rust’s. After that rewrite, the Elixir version of the app bested Rust’s performance on some tasks, despite further [third-party Rust optimizations](https://x.com/laut/status/2107188324326932789).\n\nDHH [expressed surprise](https://x.com/dhh/status/2107090619491594642) that others would assume a high-level language like Elixir or Ruby could even compete with a language like Rust, which runs closer to the metal. But he also [noted on X](https://x.com/dhh/status/2106864061832991134) that “It's not exactly extra points for Elixir if frontier agents can't find the magic ‘go fast’ switches.”\n\nElsewhere, observers noted that the Rust rewrite [got a lot more post-coding attention](https://x.com/josevalim/status/2106992022418579688) than the other implementations of Go and Elixir, both of which seemed to be [quickly wrapped up](https://x.com/josevalim/status/2107222336055181823) after the initial agent requests. “You're not benchmarking languages, you're benchmarking how much attention each port got,” one observer [wrote on X](https://x.com/mattn_jp/status/2106933007101939863). \n\nGolang advocates were likewise unamused. “The benchmark was unfair. More time was put into the Rust code while the rest were one-shotted,” one [wrote on X](https://x.com/rednafi/status/2107490780361195797). Someone else even made their own chart showing how [much more the Rust code was tuned compared](https://x.com/jskalc/status/2107221398003527718?s=20) to the quick passes on the other languages. \n\nNone of these rebuttals actually negates DHH’s advocacy of using agents to code. But clearly, skipping a manual review of the resulting work will still leave a lot of potential gains on the table. ®", "url": "https://wpnews.pro/news/rails-originator-roasted-over-rust-boosterism", "canonical_source": "https://www.theregister.com/devops/2026/10/07/rails-originator-roasted-over-rust-boosterism/5301494", "published_at": "2026-10-07 08:45:00+00:00", "updated_at": "2026-10-07 08:48:55.196809+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-agents", "developer-tools"], "entities": ["David Heinemeier Hansson", "Ruby on Rails", "Campfire", "Rust", "Go", "Elixir", "Basecamp", "Rails World 2026"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/rails-originator-roasted-over-rust-boosterism", "markdown": "https://wpnews.pro/news/rails-originator-roasted-over-rust-boosterism.md", "text": "https://wpnews.pro/news/rails-originator-roasted-over-rust-boosterism.txt", "jsonld": "https://wpnews.pro/news/rails-originator-roasted-over-rust-boosterism.jsonld"}}