
「Rustは素晴らしい、誰も見なければ」――DHHの発言を検証する(第317回)
"Rust Is Amazing, as Long as Nobody Looks at It" - Fact-Checking DHH (Ep. 317) [RB]

「Rustは素晴らしい、誰も見なければ」――DHHの発言を検証する(第317回)
Data Science at Home
要約
Data Science at Homeのホストが、Ruby on Rails生みの親DHHがRails Worldで語った「手書きコードの時代は終わった」「HEYのバックエンドをAIでRustに書き換え中」「開発者の幸福はほぼ無関係」といった発言を検証する回。ホストはDHHの実績に敬意を示しつつ、コード行数による生産性の主張や、CPU・メモリ削減の数字の根拠の弱さを指摘する。さらに「誰もコードを見なくてよい」という考え方を、セキュリティ調査や雇用統計を引いて批判している。
この回のポイント
- ●DHHは年3万行だった執筆量がエージェント活用で月15万行になったと述べたが、ホストは行数は悪い指標であり、社外から検証もできないと指摘している。
- ●METR研究では経験豊富な開発者がAIで24%速くなると予想し、実際は90%遅かったとされ、体感と実測のずれの例として挙げられた。
- ●HEYのRust移行で示された99%のCPU削減・95%のメモリ削減は、DHH自身が概算と認めており、サーバー描画からネイティブアプリへの変更も同時に起きたため要因を切り分けられないとホストは述べる。
- ●Rustはメモリ安全性を保証するが、認証ロジックの誤りのような論理バグは防げず、メールサービスで誰もコードを見ないのは危険だという主張。
- ●開発者の求人は長期的に増える見通しだが、新人層の採用は減っており、次世代のDHHがどう育つのかという問いが提示された。
- ●ホストの結論は、タイピングが任意になるのは事実でも、専門性・レビュー・判断が任意になるわけではないというもの。
章立て
DHHの発言と本回の趣旨
Rails Worldで語られた「手書きコードは終わり」「Rustは見なければ素晴らしい」という発言を紹介し、検証の狙いを説明する。
DHHの実績と生産性の主張
DHHの経歴に敬意を示したうえで、年3万行から月15万行という数字を行数指標の問題やMETR研究と対比して検討する。
開発者の幸福とHEYの書き換え
Railsの理念である開発者の幸福を軽視する発言との矛盾や、HEYのRust移行とBasecamp 5の状況を整理する。
CPU・メモリ削減の数字の検証
99%・95%という削減率が概算であり、アーキテクチャ変更と言語変更が同時に起きた交絡を指摘する。
Rustと「誰も見ない」ことの危険
Rustの長所と限界を述べ、論理バグやAI生成コードの脆弱性データを根拠に、メールサービスでのレビュー不在を批判する。
雇用統計と新人育成の問題
開発者求人の見通しと新人採用の減少を挙げ、シニアの判断力に依存する構造への疑問を示す。
同意点と結論
CLIは機械向けという主張には賛同しつつ、専門性とレビューは不要ではないと結論づける。
解説記事
Data Science at Homeのホストは、Ruby on Rails生みの親DHH(David Heinemeier Hansson)が2025年9月にオースティンのRails Worldで行った基調講演を取り上げた。ホストは「手書きコードの時代は終わった」という主張を中心に、講演内の発言を一つずつ検証している。以下は、番組内の主張を整理した解説である。
何が語られたのか
番組によれば、DHHは講演で、手でコードを書く時代は終わったと語り、メールサービスHEYのバックエンドをAIでRustに全面的に書き換えていると明かした。Rustについては「一切自分で見なくて済むなら素晴らしい」という趣旨の発言をしたという。ホストはこれらの発言が実在すること、報道でも確認できることを前置きしている。
ホストはDHHを、SNSで注目を集めたいだけの人物とは違うと評価する。20年にわたり実用的なソフトウェアを出荷し、自社の37signalsを大手クラウドから自前ハードウェアへ移した実績があるからだ。そのため発言は、きちんと検証する価値があるとしている。
生産性の数字をどう読むか
DHHは、以前は年に約3万行だったコード量が、エージェントを使うと月に約15万行になったと述べたとされる。年換算で180万行、約60倍である。ホストは、これを「1日に30皿作っていたシェフが1,800皿作る」という例えで紹介し、誰がそれを食べるのかと皮肉った。さらにビル・ゲイツの「行数で進捗を測るのは飛行機の重さで進歩を測るようなもの」という言葉を引き、コード行数は優れた指標ではないと述べている。
比較材料として挙げたのが、前回の番組で紹介したMETRの対照研究だ。経験豊富な開発者はAIで24%速くなると予想し、終了後も20%速くなったと感じていたが、実測では90%遅くなっていたという。ホストはDHHが嘘をついていると言うわけではないとしつつ、社外の人間が数字を検証できない点を弱い土台だと指摘する。
HEYのRust移行と数字の読み方
Railsの理念には「プログラマの幸福の最適化」があるが、DHHは開発者の幸福はほぼ無関係になったと語ったという。ホストは本心の変化かもしれないとしつつ、DHHは過去にも大胆な方針転換を重ねてきたと述べる。またHEYはRailsの成功例として作られたものであり、その創設者がバックエンドをRustに移す点にも皮肉があるとした。ただし、Basecamp 5は2026年6月にRailsのまま出荷されており、Railsが衰退しているわけではないとも補足している。
CPU99%減、メモリ95%減という数字について、DHH自身が未完成の作業に基づく概算だと認めていると、ホストは紹介する。しかも移行では、サーバー描画のWebページから6つのネイティブアプリへの変更も同時に行われた。引っ越しと小型車への乗り換えを同じ週に行い、光熱費の減少を車のおかげにするようなもので、Rustの貢献分は切り分けられないという。
「誰も見ないRust」への批判
ホスト自身は過去5年ほどRustを使い込み、番組でも何度も取り上げてきた支持者だ。それでも「誰も見なければ素晴らしい」という発想は、優れたエンジニアリングと逆だと述べる。Rustの価値は、人間がルールを読んで結果を信頼できる点にあり、人間を外せば高価な部分だけが残るという論理である。
またRustが防ぐのはバッファオーバーフローや二重解放といったメモリ系のバグであり、誤った人物を通してしまうログイン判定のような論理バグは防げない。メモリ安全なプログラムでも、受信箱を他人に効率よく渡すことはあり得る。メールにはパスワード再設定リンクや契約書が含まれるため、リスクは大きいという主張だ。根拠として、Veracodeの調査ではAI生成コードの45%がセキュリティ課題に失敗し、86%がクロスサイトスクリプティング対策に失敗したこと、CodeRabbitの470件のプルリクエスト分析でAIコードの脆弱性が人間の約2倍だったことを挙げている。
雇用と人材育成への示唆
コーディングが不要なら大量解雇が起きるはずだが、米労働統計局は開発者の雇用が2024年から2034年に15%伸びると予測している、とホストは述べる。一方で新人採用は前年比25%減、22〜25歳の開発者は2022年のピークから約20%減少している。コーディングが死んだのではなく、ハシゴの最下段が外されつつあるという読み方だ。
DHHがエージェントを信頼できるのは、20年かけて悪いコードの「匂い」を嗅ぎ分ける目を養ったからだ、とホストは言う。初級者が自分で凡庸なコードを書く機会を失えば、次のDHHはどこから生まれるのかという問いが残る。
まとめ
ホストが賛同した点もある。すべてのアプリにコマンドラインが必要で、それは人間ではなく機械向けだという指摘で、MCP(Model Context Protocol)にも通じる考え方だという。結論は、一字一字を手で打つことが任意になるのは事実だが、専門性・レビュー・判断まで任意になるわけではない、というものだ。MoltbookやLovableなどの事例も、その根拠として挙げられた。
日本の開発現場にとっても、AI生成コードの量ではなく、誰がどの深さでレビューし責任を持つのかが問われるという示唆がある。また、HEYの数字のように、複数の変更が同時に起きた事例の効果を、単一の要因に帰属させない姿勢も参考になるだろう。ただし、ここで紹介した内容はホストの見解と、番組で引用された数字に基づくものである。
文字起こし(英語・自動生成)
Thank you for listening to Data Science at Home podcast with Francesco Gattoleta. You are about to get cutting-edge insights from the people who are reshaping the world of technology with machine learning, data science, and artificial intelligence. It's time for Data Science at Home. Welcome to the show. The black pill is for losers. Don't be a loser. Yes, that's what David Heinemar Hansen, DHH, for those who know him, told a room full of Rails developers in Austin at the end of September. It was the 23rd of September. Now, who's this guy? He's another guy who's very talented. I mean, I cannot deny that. very old school developer who kind of converted to the magic of artificial intelligence and yet another guy
with an impressive career who's actually telling now very different things from what he said a few years ago or he was used to say a few years ago so who's the guy? the guy is the guy who created Ruby on Rails and he just told the people who love his framework that writing code by hand is over, you know, and that's kind of harsh because well, you will understand why then he added a lot of you know, a lot of statements, he made a lot of statements in that speech and he added a punchline hey, which is email service is getting its back end rewritten completely in Rust by AI. And about that, Rust is said, and I quote, Rust is amazing if you never, ever, ever even using that voice
have to look at it yourself. Which is also very weird and very sad to hear for the reasons that I will try to explain. so that's the statement I want to attack today not because Russ is bad but because of what it says about how we are supposed to think about code now and the sad part of all this is that the experts are actually supporting this in my opinion nonsense but of course feel free to jump on these conversations and actually let's have one on YouTube as well as on the Discord channel of datascience.com.com You find all the links, of course, in the show notes of this episode and clearly on the official website as well. So, who's actually talking, right? Let me give you a quick disclosure because, you know, this is not a guy
who just learned how to code or, well, who never coded in his life. As many, of course, of the guys who actually are claiming that artificial intelligence solved the programming problems, right? So the Rails World keynote is real, and press coverage confirms, in fact, all these big claims. And there is, of course, there are footages of these folk speaking on YouTube and on many other channels. Now, the thing is that I'm not arguing about the situation I'm arguing literally with DHH But of course, before doing that I need to give the man the credits that he deserves So DHH is not the typical LinkedIn hype guy This is a guy who for 20 years has been shipping real software, a very good one.
He pulled also 37 signals off the big cloud, which is his company. It's called 37 signals. And he literally, you know, pulled this company off the big cloud and onto its own hardware when everyone, literally everyone said that would have been crazy. Well, it worked. So when he says something, it deserves more attention than, you know, a founder farming, likes, right? I want to be very clear on this, and this is not a guy, okay? So, when these people talk, I personally listen, because they have a lot of years of experience with coding and project management and IT experience, for sure. So, that's exactly why it deserves a real check, because now, you know, it seems that a lot of people kind of went mad about traditional coding, so it's worth spending a few words and, of course, share what I think.
So he says that he used to write something like 30,000 lines of code per year, and now he writes something like 150,000 lines a month with agents, of course. So if you do a quick math about this, you know, this is really stupid math. 150,000 times 12 is what? Is 1.8 million lines of code per year, against 30,000 per year. So that not a bit faster that like 60 times faster For those who don understand lines of code I hope not so many Lines of code is definitely a terrible way to measure things, but more on that later. But let me give you the analogy. Imagine a chef telling you, I used to cook something like 30 plates a night. And now I cook 1,800. So you would ask, you know, one question, which would be definitely, who is eating the food, right?
Did anyone get sick? Now, jokes apart, it's a lot, okay? It's just a lot. And as I was saying, lines of code is a terrible way to measure work anyway, especially this type of work. I find it very sad finding myself citing Bill Gates but in fact Bill Gates said it's like measuring an airplane's progress by its weight a heavier plane isn't definitely a better plane maybe the opposite is true now compare it with the one real controlled study that we have the METR study from the last episode it's a good episode I think because there are real numbers about all vibe coding stuff and especially numbers that people tend not to mention in hyped posts on LinkedIn from
this study it turns out that experienced developers predicted AI would make them 24% faster and afterwards they believed they'd been 20% faster. And the clock said, so the actual thing was that they were 90% slower. So predicted faster, felt faster, measured slower, right? So I'm not calling DHH a liar, absolutely not, but I'm saying that nobody outside of 37 signals can check the numbers that he claims. And that's also a shaky base for a whole keynote. This episode is supported by OutShift, Cisco's incubation engine for frontier technology. Multi-agent AI is in pretty much every enterprise roadmap right now, but there is a problem with that, and we are all facing it. Agents can pass messages, but they cannot think together. So these systems silently underperform through cognitive failures, things like misreadings,
unverified claims, and of course, false consensus. You know, all the stuff that conventional monitoring cannot detect. OutShift by Cisco is building this fix, the Internet of Cognition, which is an open source foundation for building multi-agent systems from design to production, with shared contacts, shared memory, and guardrails to drive the results that we actually expect from artificial intelligence. So read the paper, experience the demo, grab the code from outshift.com. That's O-U-T-S-H-I-F-T dot com. With this said, again, numbers, you know, this is not like a game where measuring lines of code makes you a better person or a better project. sometimes elegance, efficiency. There are so many metrics that you can use
and you should be using instead of just observing the lines of code. It's an indicative way of saying how big the project is, but it can be 100,000 lines of copy-paste stuff and code repetition, and you understand how bad that project is even though it has a lot of lines of code, right? With respect to, for example, a much more sophisticated product or project with, let's say, one-fifth the lines of code, like 20,000 lines of code, which is, you know, you can do a lot of stuff with 20,000 lines of code when you know how to write these lines, right? Now, the official Rails doctrine, and I go back to DHH and Rails. So the official Rails doctrine has a pillar which was called, or is still called, I don't remember, optimized for programmer happiness. For real. So that's the whole reason Rails exists. To be very honest with you, I always prefer to stay the sad developer.
I never embraced programmer happiness in my life, so I never got close to Rails for many reasons. I'm not here to judge that programming language, but whatever. now the same person says developer happiness is almost a non-factor so maybe it's a real change of mind after 20 years that, you know, give me that so maybe it's DHH being DHH because if you know the guy as much as I do not directly, we don't know each other in person but I know how his statements have always been a bit provocative in the years and he has kind of a long record of, you know, loud public U-turns, if you allow me the term. Now, I don't need to decide. I just want you to notice that probably it's happening again, right? Now, here's the part that made me laugh out loud. Hey, which is the email service that he's building, in fact was Rails showcase okay It was built you know the proof that a small team could ship a serious product with Ruby
I know, it's kind of counterintuitive. Okay, it's a burn. It's just me being me. Now, what happens? Like, jokes apart. I don't have, I don't know these products. I'm just mentioning that Hay was written in Ruby. And the idea of, hey, was indeed to show to the public, hey, we build this thing in Ruby. So it can be done. And I believe it was done, you know, nicely and correctly and according to best practice. Because, again, the guy is a very senior developer. And now its backhand moves to Rust, right? Entirely. So the framework's own creator is walking his flagship product out the door. Okay? That's what was happening. That's at least what has been claimed. So to be fair, this isn't Rails dying. Basecamp 5 shipped in June 2026 and stays on Rails.
And hey, the email service isn't only changing language. It's also going from web pages served by the server to six native apps. So there is less work for the server, which means, of course, less CPU, no matter what language you pick. What's the decision behind this? It's out of my knowledge. Probably I can understand that, you know, the day you decide to run away from public clouds or the big clouds, you know, you have to be cautious about how much CPU and how much compute you use with your product. And so doing that type of exercise and economy is, you know, it makes sense. But this, you know, brings us to the numbers now. 99% less CPU, 95% less memory. DHH himself called them back of the envelope estimates on unfinished work. And I was quoting, two big changes happened at once. So nobody can say how much came from rust. It's like moving house and switching to a smaller car in the same week and then crediting the car for your lower bills.
You know, there is a confounding factor there that we don't understand which one is actually bringing you the, you know, lowering the budget of your life. Now, let's attack the Rust line because this is, you know, I took it kind of personal. I know I shouldn't. It's a programming language. But Rust is a good language. Okay. I've been a paladin of Rust and I'm still a very, you know, aficionado of Rust. you can consider me an ambassador I've been using Rust very very much in the last 5 years and it's great, it's fast it catches a whole class of memory bugs before the program even runs we have spent a lot of episodes speaking about Rust and why Rust makes sense as a language, there's a reason also security people like it because memory bugs and low level memory bugs are pretty much possible because it has a different paradigm, you know, programming language paradigm.
So why is the joke outrageous, in my opinion? Well, because great, as long as nobody ever looks at a programming language in this case, is the opposite of how good engineering actually works, okay? That's what is said about all this. So if you think, you know, again, I like to give you analogies for people who are not really familiar with the programming languages, but think of a building inspector, right? A building, you know, construction, right? Imagine a builder saying, you know, this building is perfect as long as no inspector ever goes inside. I mean, I wouldn't move in this place, right? So wouldn't you? So Rust's whole selling point is that humans can read the rules and trust the result. That's the whole point, you know? take away the human and you have kept the expensive part of the language and thrown away the reason you chose it. You get my point, right? Also, Rust stops one kind of bug.
It doesn't stop, for example, wrong logic. You can still write things wrong in a logical way, right? Yes, it prevents you from a buffer overflow. It prevents you from a double free memory allocation. but it doesn't stop from the fact that you are, you know, making a logical mistake. It cannot stop you from there. It doesn't stop a login check that lets the wrong person in, if you get the point. A memory safe program can still hand your inbox to a stranger very efficiently, okay? And this is an email service and I'm referring to, hey, every private message, every password reset link, every contract, every awkward conversation. You know, this is not a to-do app that is managing your growth release, right? Remember from last episode, the receives from the Vibe coding episode, there was Vera code, 45% of artificial intelligence generated code failed security tasks, and 86% failed to defend
against cross-site scripting. Then we had CodeRabbit I just you know reporting the same numbers as last time 470 pull requests AI code had 2 times more security vulnerabilities than human code Of course nobody has to look at it It not a security model dude It an incident report with a delivery date if you know what I mean So now let me be even more critical because then I always rant about all this stuff. If coding is bad, then why isn't everyone fired? You know, if handwritten code were truly over, you know, you'd see mass layoffs. And instead, the U.S. Bureau of Labor Statistics projects 15% growth in developer jobs from 2024 to 2034 in the next 10 years. But of course, there is the bottom of the ladder that you have to look at. Entry-level hiring is down 25% year over year.
Entry-level jobs. developers aged 22 to 25 are down almost 20% from the 2022 peak so the honest story here is not coding is dead it's that the bottom rung is being sewed off while demand for senior judgment keeps growing that's how I read these numbers and that's the real question in fact DHH can trust his agents because he spent 20 years learning what bad code smells like. You know, he built that nose the slow way. If juniors never get to write their own mediocre code, where does the next DHH come from? Project this. Don't just believe these numbers and these claims. If someone spent 20 years improving how to read code, how to write code, knowing the architectures, knowing the best practices,
and now is using artificial intelligence generation to write code or to generate code is because this guy, as many as all the other, as well as all the other senior people, they know how to control that AI-generated code. They know how to spot the things that a junior would not. Okay? now there is one part of what it gets right in fact of that speech in my opinion every app needs a command line and that command line is for machines not for humans that's real, I agree with that and it's the same idea behind the model context protocol MCP software is starting to be used by other software I wrote a book about it so that's a point taken to DHH for sure I'm being honest. I'm being honest. Now, split is plain in two, in my opinion.
Typing every character by hand is becoming optional. Yeah. And I'm quoting. It's probably true. It's been having there since autocomplete. Okay? 15 years ago, we had autocomplete, and now we have autocomplete on steroids. The second statement is expertise, review, and judgment are optional. This is a flat wrong, in my opinion. Every data set that we have covered says so, plus the real breaches at Moldbook, Lovable, Base44, and EnrichLead, they all support my statement. DHH's own code is only safe because DHH is the one reviewing it. And that's the part of the story that it doesn't tell. okay and so it's the same part that many other folks out there especially the senior people are not telling the big public they keep saying yeah AI let me generate a middle line of code every week
but they don't claim the fact that their eyes and their brain is a 20 plus year experienced developer brain right so they spot they smell things when I even I see code written by or generated by someone, I can smell it's generated because there is no, sometimes there's no elegance, there is no consistency, there are many things, there's no flavor, okay? And I have plenty of these metrics, maybe I should dedicate an episode about, you know, how to judge good code from bad code, but more on that another time. So, here's my counter-provocation. The loser move in 2026 is not writing code by hand. It's shipping a mountain of code that nobody reads into people's private inboxes and calling review a personality flaw. And by the way, Rust is amazing, but only if somebody is looking at it.
Talk to you next time. Hey, quick one. I wrote a book, The Mythical Token Month. Here's the idea. AI coding agents feel like magic, but they don't remove the hard part of building software. You know, they just clear out the busy work around it, as we all know. What's left is indeed the actual thinking. Now, I have to say that no AI wrote a word of this book. I have to say that. It's a self-claim, but you have to believe me. It's out now as an e-book, NoDRM, the website mythicaltokenmonth.com. Links in the show notes. Thank you. You've been listening to Data Science at Home Podcast. Be sure to subscribe on iTunes, Stitcher, or Podbean to get new fresh episodes. For more, please follow us on Instagram, Twitter, and Facebook, or visit our website at datascienceathome.com.
番組の概要欄(原文)
DHH told Rails World that hand-written code is over, that HEY's backend is being AI-rewritten in Rust ("amazing, as long as you never look at it"), and that developer happiness no longer matters. This episode checks his statements. Struggling with AI and Software? Here is my new book available for purchase on https://mythicaltokenmonth.com/ Come have a chat on our Discord Channel: https://discord.gg/4UNKGf3 Buy me a coffeehttps://ko-fi.com/datascience Check my company Amethix Technologies https://amethix.com References https://mythicaltokenmonth.com/ ✨ Connect with us!Personal newsletter: https://defragzone.substack.com📩 Newsletter: https://datascienceathome.substack.com🎙 Podcast: Available on Spotify, Apple Podcasts, and more.🐦 Twitter: @DataScienceAtHome📘 LinkedIn: https://www.linkedin.com/in/fragadaleta/Instagram: https://www.instagram.com/datascienceathome/Facebook: https://www.facebook.com/datascienceAHLinkedIn: https://www.linkedin.com/company/data-science-at-home-podcast NEW TO DATA SCIENCE AT HOME?Welcome! Data Science at Home explores the latest in AI, data science, and machine learning. Whether you’re a data professional, tech enthusiast, or just curious about the field, our podcast delivers insights, interviews, and discussions. Learn more at https://datascienceathome.com SEND US MAIL!We love hearing from you! Send us mail at:hello@datascienceathome.comDon’t forget to like, subscribe, and hit the 🔔 for updates on the latest in AI and data science!
出典・この記事について
- 番組
- Data Science at Home(Francesco Gadaleta)
- 元の回
- "Rust Is Amazing, as Long as Nobody Looks at It" - Fact-Checking DHH (Ep. 317) [RB]
- 配信日
- 要約作成日
- 公式サイト
- datascienceathome.podbean.com
この要約・解説記事は、元の音声を文字起こしした内容をもとに AI(Claude)が日本語で作成したものです。 固有名詞や数値に誤りを含む場合があるため、正確な内容は元の音声でご確認ください。制作方法について
関連エピソード

LLMの「確信度スコア」は作り話である(Ep. 324)
Data Science at Home

Anthropicはいかにして「反プロダクト」から年商810億ドルへ至ったか
The AI Daily Brief: Artificial Intelligence News and Analysis

なぜゲームはクラックされるのか、それでも買うほうが賢い理由(第323回)
Data Science at Home

AIコーディングエージェントにも「人月の神話」問題がある(第322回)
Data Science at Home

バイブコーディングを監査する:生産性・セキュリティ・CVEの数字が示すもの(第321回)
Data Science at Home

私たちの文章でAIは作られた。そして今、それを借りている(第320回)
Data Science at Home