
「Rustは素晴らしい、誰も見なければ」――DHH発言のファクトチェック(第316回)
"Rust Is Amazing, as Long as Nobody Looks at It" - Fact-Checking DHH (Ep. 316)

「Rustは素晴らしい、誰も見なければ」――DHH発言のファクトチェック(第316回)
Data Science at Home
要約
Data Science at Homeのホストが、Rails生みの親DHHがRails Worldで語った「手書きコードは終わり」「HEYのバックエンドをAIでRustに書き換え中」「開発者の幸福はもはや重要でない」といった主張を検証した回。ホストはDHHの実績に敬意を示しつつ、コード行数による生産性の自慢やRust性能数値の根拠の弱さ、レビュー不在の危険性を批判している。「手でタイプすること」は不要になっても「専門性とレビュー」は不要にならないと結論づけている。
この回のポイント
- ●DHHは年3万行だったコード量がエージェント活用で月15万行になったと語ったが、ホストは約60倍にあたるこの数字を社外の人間が検証できない点と、行数が生産性指標として不適切な点を指摘している。
- ●ホストはMETRの研究を引き、経験豊富な開発者がAIで24%速くなると予測し、実際は遅くなったのに速くなったと感じていたと述べている。
- ●HEYのRust化で語られたCPU99%減・メモリ95%減は、DHH自身が「未完成の作業に基づく概算」と認めており、ネイティブアプリ化との同時変更でRustの効果は切り分けられないという見方を示した。
- ●Rustはメモリ安全性は守るが論理バグや認可の誤りは防げない。メールサービスで誰も読まないコードを出荷するのは危険だと主張している。
- ●米労働統計局は開発者の求人が増えると予測する一方、新人採用は減っている。ホストは入門レベルが閉ざされ、次世代のDHHが育たなくなると懸念している。
- ●すべてのアプリにマシン向けのコマンドラインが必要だという点はMCPの考え方と重なり、ホストも同意している。
章立て
DHHの発言と問題提起
Rails Worldで「手書きコードは終わり」と語ったDHHと、HEYのRust書き換え発言を紹介し、本エピソードで検証する意図を説明する。
DHHの実績とコード量の主張
DHHの20年の実績と37signalsのクラウド脱却に敬意を示しつつ、月15万行という数字と行数指標の問題を指摘する。
METR研究と検証不能な数字
経験者はAIで速くなると予測・実感したが実測では遅かったという研究を引き、DHHの数字が外部から確認できない点を述べる。
開発者の幸福とHEYの皮肉
Railsの「プログラマの幸福」の理念と発言の矛盾、Ruby製ショーケースだったHEYのRust移行を取り上げる。
CPU99%減の数字とRust擁護
性能数値が概算で要因も交絡していることを指摘し、Rust自体は良い言語だと強調する。
「見なければ素晴らしい」への反論
Rustは論理バグを防げず、AI生成コードの脆弱性データを踏まえ、メール基盤でレビューなしは危険だと論じる。
雇用データと新人の育成
求人の伸びと新人採用の減少を対比し、シニアの判断力に依存する構造の問題を述べる。
評価できる点と結論
マシン向けCLIとMCPの点は評価しつつ、専門性とレビューは不要ではないと結論づける。
解説記事
AI・データサイエンス系ポッドキャスト「Data Science at Home」の第316回で、ホストのFrancesco Gadaleta氏が、Ruby on Rails生みの親DHH(David Heinemeier Hansson)氏の最近の講演を取り上げた。9月23日のRails Worldで語られた「手書きコードは終わった」「HEYのバックエンドはAIがRustで書き換えている」といった主張を、数字と論理の面から検証する内容だ。
DHHへの敬意と、それでも検証する理由
ホストはまずDHHを、話題づくりだけの人物ではないと位置づける。20年にわたり実際のソフトウェアを出荷し、自社の37signalsを大手クラウドから自前ハードウェアへ移した人物であり、発言は注目に値するという。そのうえで、AIがプログラミングの問題を解決したと主張する人が増えている今だからこそ、発言を検証する価値があると述べている。
コード行数と生産性の数字
DHHは、以前は年3万行だったのがエージェントの活用で月15万行(年換算180万行)になったと語ったという。ホストはこれを約60倍と計算し、「1晩30皿が1,800皿になったシェフ」にたとえて、誰がそれを食べ、体調を崩した人はいないのかと皮肉った。コード行数は元来、品質を測る指標として不適切だとし、ビル・ゲイツの「行数で進捗を測るのは飛行機の重量で進歩を測るようなもの」という言葉を引く。20,000行の洗練された実装が、100,000行のコピペだらけの実装に勝ることもあるという。
また、前回の回で扱ったMETRの対照実験にも触れている。経験豊富な開発者はAIで24%速くなると予測し、作業後も20%速かったと感じていたが、実測では遅くなっていたという内容だ(ホストは「90%遅かった」と述べているが、数値はそのままの紹介にとどめる)。ホストはDHHを嘘つき呼ばわりはしないとしつつ、37signals外部には数字を検証する手段がないと指摘している。
HEYのRust化と性能数値
かつてHEYは、小さなチームでもRubyで本格的な製品を出荷できることを示す「Railsのショーケース」だった。そのバックエンドをRustに移すことを、ホストは「フレームワーク作者が旗艦製品を手放す」皮肉と受け取る。一方で、Basecamp 5は2026年6月にRailsのまま出荷されており、Rails自体の衰退ではないと公平に補足している。
CPU99%減・メモリ95%減という数字については、DHH本人が「未完成の作業に基づく概算」と認めているという。さらにHEYはサーバー配信のWebページから6つのネイティブアプリへ移行しており、サーバー負荷はどの言語でも減る。変更が同時に起きたため、Rustの寄与は切り分けられない。ホストはこれを「引っ越しと同時に小さな車に替え、車のおかげで支出が減ったと言うようなもの」と表現した。
「Rustは誰も見なければ素晴らしい」への反論
ホスト自身は長年のRust支持者で、「大使と呼んでもいい」と述べる。メモリバグの一群を実行前に防げる点を評価している。だからこそ、この発言は工学の考え方と逆だと批判する。「検査官が中に入らなければ完璧な建物」のようなもので、Rustの価値は人間が規則を読み、結果を信頼できることにあるという。
さらにRustが防ぐのはメモリ関連のバグで、論理の誤りは防げない。誤った人物を通すログイン判定のようなバグは残るため、メモリ安全なプログラムでも受信箱を他人に効率よく渡しうる。扱うのが個人のメッセージやパスワード再設定リンクを含むメールサービスなら、なおさら深刻だと論じる。根拠として、前回紹介したVeracodeの調査(AI生成コードの45%がセキュリティ課題に失敗、86%がクロスサイトスクリプティング対策に失敗)と、CodeRabbitの調査(470件のプルリクエストでAIコードの脆弱性が人間の2倍)を挙げた。
雇用と「次のDHH」問題
手書きコードが本当に終わったなら大量解雇が起きるはずだが、米労働統計局は2024〜2034年に開発者職が15%伸びると予測している。他方で、新人採用は前年比25%減、22〜25歳の開発者は2022年のピークからほぼ20%減ったという。ホストは「コードは死んだ」ではなく「最下段の梯子が外され、シニアの判断力への需要が伸びている」状況だと読む。DHHがエージェントを信頼できるのは、20年かけて悪いコードの「匂い」を嗅ぎ分ける力を養ったからだ。若手が凡庸なコードを自分で書く機会を失えば、次のDHHはどこから来るのかと問いかける。
まとめ
ホストは、DHHの発言を二つに分けて評価する。「一文字ずつ手で打つことが任意になる」はオートコンプリートの延長として概ね正しい。しかし「専門性・レビュー・判断が任意になる」は誤りだと断じ、Moltbook、Lovable、Base44、EnrichLeadなどの侵害事例もこれを裏づけると述べる。DHHのコードが安全なのはDHH自身がレビューしているからで、シニア勢が語らないのはこの点だという。すべてのアプリにマシン向けのコマンドラインが必要だという主張は、MCP(Model Context Protocol)と同じ発想として認めている。
日本の読者にとっての要点は、AIによる生産性向上の数字を鵜呑みにせず、測定方法や交絡要因を確認する姿勢だ。また、AI生成コードを安全に使えるかは、レビューできる人材の存在にかかっており、若手育成の設計も課題になる。なお本回はホストの批評的な見解が中心で、DHH側の反論は含まれていない点には留意したい。
文字起こし(英語・自動生成)
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. 316)
- 配信日
- 要約作成日
- 公式サイト
- datascienceathome.podbean.com
この要約・解説記事は、元の音声を文字起こしした内容をもとに AI(Claude)が日本語で作成したものです。 固有名詞や数値に誤りを含む場合があるため、正確な内容は元の音声でご確認ください。制作方法について
関連エピソード

トークン使い放題の時代は終わった――「Sonnet maxxing」とAIコーディングのROI
Agentic Conversations (formally mlops.community)

AIは「その通り」と言い、形式手法は「間違いだ」と言う
The Stack Overflow Podcast

ランキングモデルは「間違ったもの」を最適化している――Zoe Weil(Sequen)が語るセッション内シグナルと購買最適化
The TWIML AI Podcast (formerly This Week in Machine Learning & Artificial Intelligence)

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

落ち着いて clone を呼ぼう:Rust の安全性と AI エージェント時代の役割
The Stack Overflow Podcast

AIで組織内のデータをつなぐ:Dropbox CTO アリ・ダスダンが語る Dash とコンテキスト腐敗
Me, Myself, and AI