Elon Musk shouted "Real men manage their own memory", a 30-year veteran in the system development field warns: Even Rust cannot stop AI from creating complexity.
"Real men manage their own memory."
On November 10, in response to netizens' follow-up question "Why did you rewrite it in C/C++, were you using Rust before?", Elon Musk used this sentence to respond to xAI's technical choices.
Four years ago, he also publicly stated that he was a fan of Rust, believing that Discord's practice proved its scalability. However, he also reserved a judgment at that time: when pursuing ultimate performance on dedicated hardware, refined C code paired with a custom compiler remains unrivaled.
Nowadays, as he announced the abandonment of JAX/SGLang and the full rewrite of the reinforcement learning and inference technology stack from scratch in C/C++, this debate over performance, memory management and language selection has once again been pushed to the forefront.
In the view of Bryan Cantrill, co-creator of DTrace and co-founder of Oxide, the value of Rust must be understood precisely against the engineering burdens accumulated over the past decades. To make developers' work easier, many languages hide complexity in the runtime: you worry less when writing code, but you pay the price for garbage collection, runtime errors and unpredictable performance after deployment. When this software becomes the foundation of the next layer of systems, the past convenience may turn into technical debt that subsequent developers cannot bypass. One of the important reasons for Rust's popularity is that it attempts to reverse this trade-off: it requires developers to think clearly about ownership and memory relationships in advance, and uses constraints during the development phase in exchange for runtime safety and reliability.
In the era of AI programming, this constraint has become even more valuable. LLMs can modify code repeatedly, and the compiler keeps pointing out problems, which reveals another side of Rust's steep learning curve. However, Cantrill's warning also lies here: Rust can block some errors, but it cannot stop LLMs from continuously generating complexity. A system can pass compilation, meet memory safety requirements, and at the same time be full of redundant modules, stacked abstractions, and endless "improvements" that never get finished.
Humans will try to simplify the system because they cannot hold the entire system in their minds; LLMs do not have the same pressure. If you ask it to streamline the code, it may dispatch ten thousand more Agents to "optimize" it. Steve Yegge's software factory Gas Town has fallen into such a loop: originally designed to develop software for people, it ended up only focusing on developing itself. According to Yegge's account, Opus 4.7 always felt like "just two more things to do", constantly modifying Gas Town itself, and never being able to enter a state of actually doing real work. The factory kept expanding but refused to start production; the code piled up more and more, and Tokens became more and more expensive, eventually dragging itself down.
In Cantrill's view, this exposes a deeper risk of AI programming: models can keep writing and modifying code, and even turn "simplifying the system" into a new round of expansion. Rust can check whether memory usage is safe, but it cannot judge for people whether this factory is still missing one brick, or whether construction should have stopped long ago.
This article is organized based on the speech video and edited by InfoQ.
Every bit of development convenience is paid for by operation and maintenance personnel
Let me give you a little background first. I worked at Sun Microsystems, a now-defunct computer company, for 14 years, then I joined Joyent, a cloud computing pioneer that was acquired by Samsung in 2016. Then we founded Oxide in 2019. That's the full span of my career.
When I entered the industry, looking back with hindsight, it was almost prehistoric. Back then everyone thought object-oriented programming was the future, but language support for it was terrible. That was before Java, only C++ existed. If you think C++ today is bad, you really should have seen C++ in the 1990s, it was horribly broken beyond description.
I believed very early on: programming languages can't give me that much.
I started my career with C. Back in 1996, no one thought C was the future, but the operating system kernel software I wanted to write was undoubtedly only available in C. But the rest of the software world didn't think that way, all demands were focused on languages: how to make software easier to write? How to let more people write software?
These demands all sound reasonable, we really want software to be more accessible: we focus entirely on optimizing the development experience, lowering the cognitive threshold, so that developers don't need to know that much. Coming from the era of assembly and C, that sounds commendable. But all of these are implicit transactions: we make developers more relaxed, but make operation and maintenance personnel much more miserable. This tension was planted back when I wrote C++ in the 1990s, and it has emerged again in a brand new way in today's LLM era.
Garbage Collection is a perfect example. Garbage collection saves developers trouble, but once you really have to operate and maintain this software, the trouble comes, and it accompanies the entire life cycle of the software. As someone who grew up in the era of explicit memory allocation, I even find this a bit absurd: we actually want to remove the burden of "when we need memory and when we are done with it" from engineers. Come on, this isn't splitting the atom. I need some memory, use it up, and give it back to you, that's not hard, right? No, it's too "hard".
This works really well for some software, but for infrastructure software, the software that carries other software and bears the load, it fights against you. For those people I know who write databases in garbage-collected languages, first of all, I feel sorry for you. You spend a lot of time "pleasing" the garbage collector: there's a piece of garbage that you think no one references, and you desperately hope the garbage collector can find it, otherwise the garbage collector will stop the world and bring you latency. Worse, you think it's garbage, but it's not, you're still holding the reference. Everyone who has written JavaScript knows that it's too easy to create invisible object references with closures. Then you curse the garbage collector for running nonstop, but it's not actually collecting garbage at all, it's just a heap scanner now, completely working at cross purposes.
The same goes for dynamic typing. You don't need to define types in advance, and determine them at runtime, which feels great for development. If you switch from a statically typed language to JavaScript, it feels like walking into a nudist camp. You've been used to wearing clothes since you were a child, and suddenly everyone takes off their clothes, it's a little exciting at first, but humans wear clothes for a reason. Dynamic typing may make some software development easier, but the problems you encounter in production environments now that should have been compilation errors, such as a simple typo that misspells an attribute, now blow up at runtime, which is why no one should use Node.js to write infrastructure software.
There's also M:N threading, I hope no one here knows about this thing. It claims "you can create millions of threads", but when you actually create millions of threads, everything freezes, it's another thing that caters to developers but makes the system harder to understand.
Exceptions too. Throwing exceptions dynamically deep in the code feels great, you don't have to worry about error handling. But once something goes really wrong, exceptions are like snakes in the grass, very hard to handle correctly. Especially in JavaScript, if the exception is a type error caused by a misspelled property, you have no idea how to handle it.
ORM (Object-Relational Mapping), "we want to make accessing databases super easy", it's great for developers, development speed is extremely fast, you don't even need to know you're interacting with a database. But the people who actually deal with this mess in production are thinking: I knew it, they have no idea they're facing a database. I've spent too much of my life debugging other people's code in production environments, and I always feel there's a causal imbalance in this world: there must be people who create far more bugs than they debug. When you meet these people, it's hard to say "Hey, I've read a lot of your code, by the way, do you know all those things are database queries?" It's understandable, because abstraction is designed to keep you unaware, so that you can develop faster, but the price is introducing all this complexity.
RPC (Remote Procedure Call) is almost by definition a bad idea: you have a remote function call, then say "don't worry you're going over the network, just treat it like calling a function", which makes you accidentally create a pathological system.
Abstraction is everything in software, and bad abstractions explode
These are all examples of abstractions that have gone slightly wrong, so let's talk about abstraction, because abstraction is exactly what software is all about. We can't see it, can't smell it, but we have a strong aesthetic sense of what a clean abstraction is. A good abstraction allows us to create extraordinary things, compact enough that people don't even know they're abstracted away. This is not the same kind of "unawareness" as ORM: a good abstraction is so seamless that it's invisible, and won't cause emergent behavior in production environments; bad abstractions leak, explode, and produce extremely fragile systems.
When you over-optimize for developers during the development phase, trying to shield developers from reality and consequences, you will almost inevitably create a leaking abstraction, and the people cleaning it up are operation and maintenance staff.
Garbage collection is the best example. It wasn't supposed to leak, provided that we never really have to worry about it. But every Java performance problem eventually boils down to "you have to switch to a different garbage collector", or "switch to a different algorithm". We're practically holding a seance, summoning spirits from the supernatural world of alternative garbage collectors, this is a horribly leaking abstraction. It works fine for many systems, but when we try to build infrastructure, the software that we build more software on top of, it fails miserably.
When they break, they introduce complexity. Complexity and abstraction are a dipole in software engineering. Good abstractions distill us down to the essential complexity of the problem, bad abstractions induce accidental complexity. The real problem is that complexity doesn't just accumulate, it explodes: the accidental complexity induced by bad abstractions becomes the essential complexity that the next layer has to deal with. Your bad abstraction creates new rules for a terrible universe, and we find ourselves trapped inside it.
Take a very specific example: the Basic Input Output System (BIOS), which is very low-level firmware in the system, and later evolved into UEFI. When an x86 or ARM system boots, it executes this firmware. This is quite disappointing, because ARM didn't need to emulate this behavior at all. If you're implementing a technology that's meant to replace a technology you think has gone further than you, never assume that the complexity revolving around it is essential complexity. The ARM team thought, we ARM must also have UEFI BIOS, this is essential complexity. No, it's accidental complexity, you don't actually need it at all. But when everyone uses it, you feel like it's non-negotiable. A lot of the complexity we deal with daily seems like unquestionable essential complexity, but much of it is actually accidental complexity caused by past choices.
About a year ago I turned this classification into a speech. I drew two axes: one goes from complex to simple, from "a total mess" to "elegant"; the other goes from emergent to engineered, measuring how deliberate and thoughtful we are about our decisions, rather than how passive and reactive we are. This gives us four types of systems.
The top left corner is engineered, complex systems, we call them "Constructed". Fred Brooks' book written in the 1960s, The Mythical Man-Month, is still relevant today, it describes the risks of a huge constructed system: the IBM 360 system in the 1960s, massive in scale, with many people working on it at the same time.
They can become very complex, and then inspire "Rebellious" systems (note from the translator: located in the fourth quadrant): do we really need to do all these things? Why not throw it all away? All this complexity is solving problems we don't even have, "come join my rebellion", which is actually the private equity fantasy of "creating value through destruction". Most of the time they just destroy, but when these systems actually work, they do discard a bunch of stuff you don't need. The transition from Multics to Unix is a typical example. The name Unix itself is a pun on the castration of Multics, a deliberately rebellious system: we're going to create something by doing far less. Rebellious systems fail when they "delete too much": it says "this actually bears the load", and the thing that got deleted makes the system undeliverable, fortunately most of the time what gets discarded is accidental complexity.
Then systems often fall into the third quadrant: "Accreted" systems. They emerge, not designed, but equally complex. Many systems start out as constructed or rebellious, and eventually become accreted. UEFI BIOS is 100% an accreted system: highly emergent, extremely complex, it's extremely hard for you to separate essential complexity from accidental complexity, this is technical debt.
Some systems are born accreted, even the people promoting them say "this is regrettable, but it does solve the problem". Accreted systems are very bad as foundations: there's too much accidental complexity mixed in with essential complexity, and this accidental complexity becomes the essential complexity of the things built on top of it. However, after being crushed by an accreted system for long enough and hard enough, inspiration may strike: I'm going to do something completely radical, create value through creation, not destruction.
You'll gather a small group of people, give them focused time to do something a little wild. We're going to change abstractions, not just reduce them. Almost all programming languages fall into this category, because inventing a language is almost inventing a new kind of abstraction. Otherwise why wouldn't you just embed Lua? If you're suffocating under the accretion of your system, you can find inspiration in these "Revolutionary" systems.
How did yesterday's revolution become today's technical debt?
But here's a paradox: the accreted system you're dealing with was very likely itself a revolutionary system not long ago. They started out as revolutionary, but eventually became the very thing they set out to subvert.
Java is a perfect example. Go look through Gosling's 1995 whitepaper, back when it was still called Oak, you can feel the real revolution Java was back then. Java was a revolution against C++, which was a total mess. C++ is a typical example of "born accreted": when the creator feels they have to apologize to the whole world for their creation, you know it was born accreted.
Java was a revolution, but it didn't take long to go bad.
If you're immersed in J2EE systems all day now, you won't say "how elegant these abstractions are", you'll only say it's a complete mess. Ruby on Rails in 2005 was a reaction against Java's complexity. The same goes for Python: it was originally designed as a teaching language, has a lot of good things, but also far too much complexity. Today you wouldn't call Python a revolutionary system, even though it started out as one.
Why do these systems eventually all drift toward accretion? Because accretion becomes an inevitable property of running these things as production infrastructure. That might have been a great idea twenty years ago, but now I'm trying to use it as a foundation to build things on top of.
Java optimized garbage collection, it was optimized for developers in the development phase, and I wish Cassandra's developers never had to worry about memory. But now I'm dealing with Cassandra in production, holding a garbage collection seance, trying to lower latency, while also glancing up at the revolutionary system quadrant in the top right corner.
I don't object to garbage collection in itself, what I object to is deploying it as infrastructure to production environments without any idea of what it will turn into. The result is that many revolutionary systems start out revolutionary, but actually turn into a race toward acceleration into accretion.
Fortunately, you are here today because a