{"id":794846,"date":"2026-10-07T13:20:27","date_gmt":"2026-10-07T13:20:27","guid":{"rendered":"https:\/\/www.newsbeep.com\/uk\/794846\/"},"modified":"2026-10-07T13:20:27","modified_gmt":"2026-10-07T13:20:27","slug":"rails-originator-roasted-over-rust-boosterism","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/uk\/794846\/","title":{"rendered":"Rails originator roasted over Rust boosterism"},"content":{"rendered":"<p>                    <a data-tag=\"devops\" href=\"https:\/\/www.theregister.com\/tag\/devops\" class=\"lab-article-section-link\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p style=\"\" class=\" lab-article-section lab-article-section-top \">\n                    devops\n                <\/p>\n<p>                    <\/a><\/p>\n<p class=\"subtitle below\" style=\"\">\n        David Heinemeier Hansson&#8217;s agent-coded bakeoff produced curious results\n    <\/p>\n<p>Last month at Rails World 2026, Ruby on Rails creator David Heinemeier Hansson gave a <a href=\"https:\/\/www.youtube.com\/watch?v=vDjW_dRyKXY&amp;list=WL&amp;index=7\" target=\"_blank\" rel=\"nofollow noopener\">relentlessly optimistic keynote<\/a>\u00a0in which he suggested AI has all but eliminated the need for developers to manually write code.\u00a0<\/p>\n<p>But perhaps DHH, as he is known online, shouldn\u2019t delete his code editor quite yet.<\/p>\n<p>On Sunday, DHH <a href=\"https:\/\/x.com\/dhh\/status\/2106810173683851564\" rel=\"nofollow\">posted<\/a> about a test in which he had frontier agents implement and optimize his company\u2019s <a href=\"https:\/\/once.com\/campfire\" rel=\"nofollow noopener\" target=\"_blank\">Campfire<\/a> 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.<\/p>\n<p>DHH\u2019s 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&#8217;t trust DHH\u2019s benchmarks.\u00a0<\/p>\n<p>As 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.\u00a0<\/p>\n<p>DHH 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,\u00a0<a href=\"https:\/\/github.com\/basecamp\/once-campfire\" target=\"_blank\" rel=\"nofollow noopener\">largely written in Ruby<\/a>, is relatively compact.<\/p>\n<p>Many observers, notably advocates of other languages, quickly surmised from the source material that DHH had optimized the Rust results but didn&#8217;t do the same for the other languages he tested.\u00a0<\/p>\n<p>Whither high-level languages?<\/p>\n<p>Rewriting applications in Rust, often with the help of AI agents, seems to be a popular undertaking these days, with Microsoft&#8217;s <a href=\"https:\/\/www.theregister.com\/devops\/2026\/09\/18\/microsoft-agentically-ports-copilot-runtime-to-rust-for-120k\/5297549\" target=\"_blank\" rel=\"nofollow noopener\">Copilot runtime<\/a>, the <a href=\"https:\/\/www.theregister.com\/devops\/2026\/09\/04\/javascript-installer-pnpm-recast-in-rust-because-ecmascript-cant-keep-up\/5294394\" target=\"_blank\" rel=\"nofollow noopener\">pnpm JavaScript installer<\/a>, and the <a href=\"https:\/\/www.theregister.com\/devops\/2026\/07\/14\/zig-creator-calls-buns-claude-rust-rewrite-unreviewed-slop\/5270743\" target=\"_blank\" rel=\"nofollow noopener\">Bun JavaScript toolchain<\/a> all getting the Rust treatment.<\/p>\n<p>In DHH\u2019s test, the Rust implementation handily bested the others across all five workloads, sometimes by a wide margin. To serve a \u201croom page,\u201d 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.<\/p>\n<p>Rust executed the other tasks with similar alacrity, easily besting the other languages DHH used.\u00a0<\/p>\n<p>The 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.<\/p>\n<p>DHH 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. <\/p>\n<p>DHH himself began developing Rails in 2003 while building Basecamp in the then relatively obscure Ruby programming language to ease the developer experience. He doesn\u2019t seem to mind that Ruby ranked the slowest in his own tests.\u00a0<\/p>\n<p>\u201cI didn&#8217;t care about [performance] when the pay-off was huge in terms of productivity and developer joy.\u201d\u00a0<\/p>\n<p>But AI agents don\u2019t give a hoot about joy.<\/p>\n<p>\u201cYou 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,\u201d he wrote.<\/p>\n<p>Chips on the table<\/p>\n<p>DHH\u2019s ad-hoc test was quickly met with skepticism, criticism and outright mockery, especially on X. (It\u2019s as if DHH\u2019s <a href=\"https:\/\/www.theregister.com\/software\/2026\/09\/17\/omarchy-gains-185m-in-backing-fresh-converts-and-fierce-critics\/5296780\" target=\"_blank\" rel=\"nofollow noopener\">conservative views on immigration<\/a> and his work <a href=\"https:\/\/www.theregister.com\/os-platforms\/2026\/08\/27\/omarchy-distro-gains-serious-backing\/5293026\" target=\"_blank\" rel=\"nofollow noopener\">to bring yet another Linux desktop<\/a> into the world didn\u2019t give him enough headaches).<\/p>\n<p>\u201cWhat worries me about the future of programming is you see this and don\u2019t immediately know there must be something wrong with the results or what you actually measured,\u201d wrote prominent Google engineer Jaana Dogan in <a href=\"https:\/\/x.com\/rakyll\/status\/2107441266695020914\" target=\"_blank\" rel=\"nofollow\">an X response<\/a> to DHH\u2019s tests.<\/p>\n<p>Dogan did not elaborate on the test\u2019s shortcomings, but many others, especially advocates of other languages, were more than happy to provide details.\u00a0<\/p>\n<p>One Elixir advocate called DHH\u2019s implementation \u201c<a href=\"https:\/\/x.com\/ZachSDaniel1\/status\/2106820451557073175\" target=\"_blank\" rel=\"nofollow\">moronic<\/a>,\u201d while a couple of others actually <a href=\"https:\/\/x.com\/laut\/status\/2107188324326932789\" target=\"_blank\" rel=\"nofollow\">rewrote the Elixir code<\/a> to make its performance comparable to Rust\u2019s. After that rewrite, the Elixir version of the app bested Rust\u2019s performance on some tasks, despite further<a href=\"https:\/\/x.com\/laut\/status\/2107188324326932789\" target=\"_blank\" rel=\"nofollow\"> third-party Rust optimizations<\/a>.<\/p>\n<p>DHH <a href=\"https:\/\/x.com\/dhh\/status\/2107090619491594642\" target=\"_blank\" rel=\"nofollow\">expressed surprise<\/a> 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 <a href=\"https:\/\/x.com\/dhh\/status\/2106864061832991134\" target=\"_blank\" rel=\"nofollow\">noted on X<\/a> that \u201cIt&#8217;s not exactly extra points for Elixir if frontier agents can&#8217;t find the magic \u2018go fast\u2019 switches.\u201d<\/p>\n<p>Elsewhere, observers noted that the Rust rewrite<a href=\"https:\/\/x.com\/josevalim\/status\/2106992022418579688\" target=\"_blank\" rel=\"nofollow\"> got a lot more post-coding attention<\/a> than the other implementations of Go and Elixir, both of which seemed to be <a href=\"https:\/\/x.com\/josevalim\/status\/2107222336055181823\" target=\"_blank\" rel=\"nofollow\">quickly wrapped up<\/a> after the initial agent requests. \u201cYou&#8217;re not benchmarking languages, you&#8217;re benchmarking how much attention each port got,\u201d one observer <a href=\"https:\/\/x.com\/mattn_jp\/status\/2106933007101939863\" target=\"_blank\" rel=\"nofollow\">wrote on X<\/a>.\u00a0<\/p>\n<p>Golang advocates were likewise unamused. \u201cThe benchmark was unfair. More time was put into the Rust code while the rest were one-shotted,\u201d one <a href=\"https:\/\/x.com\/rednafi\/status\/2107490780361195797\" target=\"_blank\" rel=\"nofollow\">wrote on X<\/a>. Someone else even made their own chart showing how <a href=\"https:\/\/x.com\/jskalc\/status\/2107221398003527718?s=20\" target=\"_blank\" rel=\"nofollow\">much more the Rust code was tuned compared<\/a> to the quick passes on the other languages.\u00a0<\/p>\n<p>None of these rebuttals actually negates DHH\u2019s 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. \u00ae<\/p>\n","protected":false},"excerpt":{"rendered":"devops David Heinemeier Hansson&#8217;s agent-coded bakeoff produced curious results Last month at Rails World 2026, Ruby on Rails&hellip;\n","protected":false},"author":2,"featured_media":794847,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[554,733,4308,86,56,54,55],"class_list":["post-794846","post","type-post","status-publish","format-standard","has-post-thumbnail","category-artificial-intelligence","tag-ai","tag-artificial-intelligence","tag-artificialintelligence","tag-technology","tag-uk","tag-united-kingdom","tag-unitedkingdom"],"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/794846","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/comments?post=794846"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/posts\/794846\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media\/794847"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/media?parent=794846"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/categories?post=794846"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/uk\/wp-json\/wp\/v2\/tags?post=794846"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}