Why Rust Is the New Standard for Systems Programming
A few years back I was debugging a use-after-free bug in a C++ service that handled connection pooling for a database proxy. It took me three days, a sanitizer build, and a very patient senior engineer to find it. The bug wasn’t exotic.
It was the kind of mistake any of us could make on a Friday afternoon: a pointer that outlived the object it pointed to, freed under load, in a code path nobody exercised in staging. When I finally found the line, I didn’t feel clever. I felt tired. I remember thinking, we’ve been writing this same bug for fifty years.
That memory is why I no longer flinch when someone tells me their next driver, proxy, or embedded firmware is being written in Rust instead of C. I used to think that was a trend piece. Now I think it’s an admission that the industry got tired of paying the same tax over and over, and finally found a compiler willing to collect it at build time instead of in production.
This isn’t a “Rust will replace C” article. It won’t, not for a long time, maybe not ever completely. It’s an article about why Rust has earned a permanent seat at the table where C and C++ used to sit alone, what that actually means architecturally, and where the hype outruns the reality.
Systems programming has always had an uncomfortable tradeoff baked into it. You want low-level control over memory layout, predictable performance, and no runtime overhead. Historically that meant C or C++, and it meant manual memory management, which meant a category of bugs — use-after-free, double-free, buffer overflows, data races — that no amount of code review fully eliminates. Garbage-collected languages solve the memory safety problem but introduce pause times and runtime overhead that are unacceptable in a kernel driver, a hypervisor, or a hard-real-time embedded system.
Rust’s pitch is that you don’t have to choose. The ownership and borrow-checking model enforces, at compile time, that every value has exactly one owner, that references can’t outlive the data they point to, and that you can’t simultaneously hold a mutable and an immutable reference to the same value. None of this costs anything at runtime. The borrow checker does its work during compilation and then gets out of the way; the compiled binary looks structurally a lot like what you’d get from equivalent C, with no garbage collector, no reference counting overhead by default, and no hidden allocations the compiler didn’t tell you about.
That’s the architectural insight that matters more than any benchmark: Rust moves an entire class of correctness problems from runtime, where they show up as CVEs and 3 a.m. pages, to compile time, where they show up as a build failure on your laptop. Research cited across the security community consistently puts memory-safety bugs at roughly 60 to 70 percent of CVEs in system software. If that number is even close to right, a language that structurally prevents the bug class isn’t a style preference, it’s a security strategy.
The clearest signal that Rust crossed from “interesting alternative” to “infrastructure reality” is the Linux kernel. Rust was merged as the kernel’s second supported language in December 2022, the first new language to be accepted into Linux in three decades of essentially exclusive C and assembly. That decision, coming from a maintainer community famous for resisting language churn, was not made lightly. By the 6.8 release in December 2023 the first Rust drivers had landed, and by late 2025 Rust support in the kernel moved from experimental to permanent, a shift reportedly solidified at the 2025 Kernel Maintainer Summit in Tokyo.
What’s actually written in Rust today is narrower than the headlines suggest, and that’s by design. The entry points have been drivers and subsystems where memory safety carries the most weight: GPIO abstractions, Android-specific drivers contributed by Google, Apple silicon driver work, and Nova, an in-development open-source driver for NVIDIA GPUs that has become something of a flagship project for what Rust-in-kernel can look like at scale. Nobody serious is proposing a kernel rewrite. The strategy is incremental: new code, especially new drivers, gets written in Rust where it makes sense, while the C core that has been hardened for thirty years stays exactly where it is.
A minimal Rust kernel module looks like this:
use kernel::prelude::*;use kernel::module;module! { type: MyDriver, name: "my_driver", author: "Anis Afifi", description: "Minimal example Rust kernel driver", license: "GPL",}struct MyDriver;impl kernel::Module for MyDriver { fn init(_module: &'static kernel::ThisModule) -> Result<Self> { pr_info!("my_driver: loaded\n"); Ok(MyDriver) }}The interesting part isn’t the syntax, it’s what the compiler guarantees about it before it ever runs in kernel space. A Rust kernel driver that compiles cannot have a use-after-free bug in its safe code paths, not because the author was disciplined, but because the borrow checker structurally rejected the program if it tried.

The kernel gets the headlines, but the pattern is repeating across the industry. Google made Rust the second official language of Android alongside Java and Kotlin in 2021, and new AOSP code touching memory management, networking, and Bluetooth stacks increasingly gets written in Rust rather than C++. Microsoft has been pushing Rust into Windows kernel components and into Azure infrastructure, firmware, and Hyper-V, framing it explicitly as a memory-safety play rather than a performance one. Cloudflare’s edge stack, AWS infrastructure components, Discord’s backend services, Dropbox’s storage engine, and Mozilla’s own Firefox and the Servo rendering engine round out a list of companies that didn’t adopt Rust because it was trendy, they adopted it because they were tired of patching the same bug class in production.
There’s also a regulatory dimension that’s easy to miss if you only read the tech press. The NSA, CISA, and EU cybersecurity bodies have all published guidance recommending memory-safe languages for systems-level code. That’s a policy signal, not just a developer-preference one, and it changes procurement conversations in ways that pure technical merit never could. Government and large-enterprise software buyers are starting to ask “is this written in a memory-safe language” as a checklist item, and that question didn’t exist five years ago.

I’d be doing you a disservice if I stopped here, because the popularity narrative around Rust has gotten ahead of some uncomfortable realities, and you should know them before you bet a project on this language.
First, the popularity metrics are genuinely mixed depending on which one you look at. Rust has been the most loved language in developer surveys for close to a decade running, but the TIOBE Index, which tracks search volume rather than sentiment, has Rust sliding from a peak around 13th place earlier in 2026 back down toward 16th, with TIOBE’s own CEO describing the growth as leveling off. Loved by the people who use it, still a minority of the people writing systems code day to day. Both things are true at once.
Second, the learning curve is real and it doesn’t get talked about honestly enough in adoption pieces. Ownership, lifetimes, and the borrow checker are genuinely difficult concepts, and teams without prior C or C++ experience often underestimate the ramp-up time. I’ve watched strong engineers spend weeks fighting the borrow checker on problems that would have taken an afternoon in Go or Python. That cost is front-loaded and it’s a legitimate reason some teams choose not to adopt Rust even when the safety argument is compelling.
Third, compile times are still a tax you pay on every iteration. The same safety analysis that catches your bugs also slows down your build, and on large codebases that adds up to real friction in day-to-day development, especially compared to languages with simpler compilation models.
Fourth, the ecosystem, while genuinely strong for a language this young, is still smaller and less battle-tested than what you get with C, C++, Python, or JavaScript. You will more often find yourself writing a crate that doesn’t exist yet instead of importing one, and that’s a cost some teams aren’t equipped to absorb.
Fifth, and this is the one kernel maintainers raise most often: long-term maintainability is unproven at the timescale that matters for infrastructure. C has fifty years of tooling stability and an enormous pool of engineers who can read it. Rust is young. Toolchain complexity is real — requiring LLVM (or, increasingly, the GCC-based gccrs alternative for non-LLVM architectures) and a specific compiler version adds dependencies that complicate distribution packaging. Bindings between Rust and C interfaces, generated with tools like bindgen, have to be kept in sync as the C side evolves, which is ongoing maintenance burden, not a one-time cost. Nobody honestly knows yet whether kernel Rust code written today will be maintainable in 2040 the way C code written in 1995 still is.
None of this is an argument against Rust. It’s an argument against the version of the story where Rust is a strict, costless upgrade over C. It isn’t. It’s a real tradeoff, and like every real tradeoff in engineering, it’s worth making for the right problems and worth skipping for the wrong ones.
What’s actually happening here is bigger than one language winning a popularity contest. For fifty years, systems programming accepted a premise: if you want control over memory and hardware, you accept the risk of memory corruption bugs as the cost of doing business. Rust is the first language to seriously break that premise at scale, in production, in the pieces of software stack that everything else depends on. The Linux kernel accepting Rust isn’t really a story about Rust syntax. It’s a story about an industry deciding that “we’ve always done it this way” is no longer a sufficient answer when 60 to 70 percent of your security advisories trace back to a bug class a compiler can prevent.

I don’t think C disappears. I don’t think it should. Fifty years of hardened, audited, deeply understood code is not something you throw away because a newer language has nicer guarantees, and there are domains — embedded targets with no Rust toolchain support, codebases too large to realistically port, teams without the bandwidth to retrain — where C remains the correct, boring, responsible choice for a long time yet. But the default assumption for new systems-level code, the thing you reach for first when you’re starting something new and memory safety actually matters, has shifted. That’s what “new standard” means here. Not replacement. Default.
This article is for backend and infrastructure engineers evaluating whether to invest in Rust for a new service, driver, or performance-critical component, and for anyone trying to understand why companies like Google, Microsoft, Cloudflare, and the Linux Foundation have all placed real bets on a language that didn’t exist twenty years ago. If you’re choosing a language for a CRUD API or a data pipeline, this probably isn’t the most important decision you’ll make this quarter. If you’re choosing a language for a kernel driver, a network proxy, an embedded controller, or anything where a single memory bug becomes a security incident, it’s worth the learning curve.
Rust didn’t win by being the easiest language. It won by being the first language to make the hard tradeoff between safety and performance optional instead of mandatory. That’s a rare enough thing in this industry that it deserves the attention it’s getting, even with all the caveats attached.
Before you commit, walk through these questions honestly: does the project touch memory safety-sensitive surfaces like drivers, parsers of untrusted input, or network-facing services where a corruption bug becomes a security incident; does your team have bandwidth to absorb several weeks of ramp-up time on ownership and lifetimes before velocity returns to normal; does your target platform have mature Rust toolchain support, including LLVM or gccrs for your architecture; can you tolerate longer compile times in your CI pipeline without breaking developer flow; is the crate ecosystem mature enough for your dependencies, or will you be writing bindings to C libraries via bindgen; and finally, is this a greenfield component you can build incrementally in Rust, rather than a full rewrite of a large, working C or C++ codebase. If most of those answers point toward “yes, manageable,” Rust is very likely the right call. If several point toward “no,” it’s worth being honest about that before you start.
Related posts
-
Technology · Coding
Mastering Rust Syntax: From Beginner Fundamentals to Advanced Techniques
-
Technology · Coding
Mastering JavaScript Syntax: From Beginner Fundamentals to Advanced Techniques
-
Technology · Coding
Mastering Python Syntax: From Beginner Fundamentals to Advanced Techniques
-
Technology · Coding
Mastering Go Syntax: From Beginner Fundamentals to Advanced Techniques