Why Can Rust Be Ugly to Humans and Useful to Agents?
David Heinemeier Hansson hates reading Rust and still ships applications written in it. He calls it the ugliest programming language invented in probably the last 40 years, the opposite of Rails, and painful enough that looking at the code feels like acid in his eyes. He has written Rust anyway, and C++ as well, on vibe-coded projects of his own.
The output is why he puts up with it. Memory safety, a real systems language, and high efficiency are incredible, so Rust can be repugnant for a human to read and a wonderful platform for agentic engineering at the same time. He expects those two judgments to coexist. The agent can produce the code. He does not have to enjoy staring at it.
#501 – DHH: Future of Programming, AI, Agentic Engineering, Vibe Coding & Linux ·
From the transcript
People applying PHP scripts, they just download it offline. They don't understand anything of. And while that's true in the sense that much of the vibe coding, including my own vibe coded projects. And as I just mentioned, I have several. I've written things in C++. I've written things in Rust. Rust. I hate Rust. with a passion. Rust to me is like pouring acid in my eyes when I have to look at the code.
Why do you hear Rust? It is, in my opinion, the ugliest programming language that has been invented in probably the last 40 years. So it's the opposite of Rails. It's the opposite. But! You've written it. I've written applications in Rust because the output of Rust is actually amazing. The memory safety, the fact that it's a system language, the fact that it's highly efficient and so forth is incredible.