Short answer
Rust is neither a myth nor a silver bullet. It solves two specific problems very well: vulnerabilities caused by memory errors, and unpredictable delays in high-load systems. If that is exactly what costs your business money, Rust can pay for itself many times over.
But most problems in a typical product are a slow database, tangled architecture, technical debt or a lack of people. Here a rewrite in a new language will not help; it will set you back months. You pay to get the same product, with new bugs.
Even the companies that talk most loudly about Rust do not rewrite everything. They write new code in Rust and move only the parts where risk or load is highest. The first question for a business is not "which language is in fashion" but "what exactly is costing us money right now".
Where the Rust hype came from
The hype has a very real basis. Microsoft and Google themselves found that about 70% of serious vulnerabilities in their code are caused by memory errors in C and C++. Rust blocks such errors at compile time and still runs at C speed.
Three amplifiers did the rest:
- Developers love it. Rust has been the "most admired language" in the Stack Overflow survey for nine years in a row. Developers want to write in it, and they are often the ones who bring the "let's rewrite everything" idea to management.
- Loud statements from giants. In early 2026 Microsoft engineer Galen Hunt wrote that he wants to eliminate every line of C and C++ from the company by 2030. Headlines turned this into "Microsoft is rewriting Windows in Rust", although there is no such plan.
- Regulators. Government cybersecurity agencies in the US and Europe recommend memory-safe languages. For some industries this is already a matter of compliance, not taste.
Together they make a dangerous formula: "the giants are moving to Rust, so we should too". But Google and Microsoft have billions of lines of C++ and thousands of security engineers. A typical startup has a web app in Python, Node.js or PHP, where memory problems in the classic sense simply do not exist.
What Rust really gives a business
Let's look at cases where Rust really delivered, and at which business problem it solved.
Discord: unstable speed was hurting the user experience
The service that tracks read messages was written in Go. It was fast, but every few minutes it showed latency spikes caused by Go's garbage collector. For a messenger, where everything should feel instant, this directly hurts the product. The team tried to tune Go, but it did not help. After rewriting one service in Rust, the spikes disappeared.
Business lesson: this was one narrow service with a proven technical cause, not a rewrite of all of Discord.
Cloudflare: the same work for a third of the resources
Cloudflare replaced NGINX with its own Rust proxy, Pingora. According to the company, the new service uses about 70% less CPU and 67% less memory for the same traffic. At Cloudflare's scale, that is a noticeable saving on servers.
The business lesson that is often missed: Cloudflare's own engineers wrote that the savings came from the new architecture, shared connections across threads, not from Rust code being "faster". Rust made that architecture safe, but the architecture is what made the money.
Android and WhatsApp: fewer vulnerabilities, less reputational risk
In Android, the share of memory-safety vulnerabilities fell from 76% of all bugs in 2019 to below 20% at the end of 2025. Meta replaced WhatsApp's media processing library with a Rust version, because that code handles files from anyone and is an ideal target for attackers.
Business lesson: Google did not rewrite old code. The rule was simple: new systems code in Rust, old code left alone. The biggest effect came from new modules, where bugs are usually freshest.
What all the success stories share: huge scale, a measured problem and targeted replacement of individual parts. None of these companies rewrote its product as a whole.
What a rewrite really costs: the business risks
Developers sell a rewrite as an investment in the future. For the business it is mostly costs now and results sometime later.
1. A frozen product. While the team rewrites what already works, new features do not ship. Competitors do not wait. For a startup this is often the most expensive item.
2. Two products instead of one. During the migration you have to support both the old and the new version: fix bugs in both, sync data, pay for two sets of infrastructure.
3. Expensive, slow hiring. Rust developers are scarce and cost more than the market average. In the US in 2026 a mid-level engineer costs about $120–185k a year and seniors up to $280k, and a search takes 6 to 12 weeks. Junior Rust developers are rarely hired for production. And if one of your two Rust engineers leaves, you risk being left with code nobody can maintain.
4. A slower team. Rust is hard to learn. For the first months even strong developers write more slowly, and long compile times are the number one complaint of Rust developers themselves.
5. Lost knowledge in the code. Old code looks messy, but it holds years of fixed bugs, odd edge cases and rules that are documented nowhere. Rewriting from scratch, you step on the same rakes again, this time with live customers.
6. A result customers do not see. If a page used to load in 300 ms because of a slow database query, after the rewrite it will load in 295 ms. You paid for a new language, not for a better product.
Your contractor estimated the rewrite at six months and a serious budget?
Before you sign, get an independent second opinion. We will check the estimate, explain the risks in plain language and suggest an option that will not stop your business.
Why you should not believe it blindly: three stories
Cloudflare: one line of Rust took down half the internet
On 18 November 2025 Cloudflare had its worst outage since 2019: ChatGPT, X and thousands of sites were down for several hours. The cause was a configuration file that grew past a limit, and the new Rust proxy, instead of handling the error, simply crashed (an unwrap() call). Memory was safe, but the service was down.
Takeaway: Rust protects against one class of errors, not against developers' decisions or weak testing and deployment processes.
The Rust version of basic Linux commands: new bugs instead of old ones
In 2026 Ubuntu switched to Rust versions of basic commands such as cp, mv and rm. An audit found no memory errors, but it did find logic errors that developers introduced during the rewrite itself: in handling paths, permissions and errors.
Takeaway: any rewrite creates new bugs, even as it removes old ones. That is a price the business pays.
TypeScript: the language's creators tried Rust and said no
Microsoft moved the TypeScript compiler to a faster language and chose Go, not Rust. TypeScript's creator Anders Hejlsberg explained that with Rust it would not be a port but a multi-year rewrite, because the existing code's architecture does not fit Rust's rules well. With Go the team got a 10x speedup now, instead of a hypothetical 15–20x years later.
Takeaway: the best language is the one that gives the business the result it needs in a reasonable time. Sometimes "good enough now" beats "perfect someday".
Who Rust saves, and who it just costs
| Your situation | Worth considering Rust? | Why |
|---|---|---|
| Payment gateway, trading, exchange | Yes, for the core | Every millisecond and every vulnerability costs money |
| Service that processes user files, video or data | Yes, for parsers | A favourite attack target, as at WhatsApp |
| Infrastructure on thousands of servers | Yes, selectively | CPU and memory savings multiply by the number of servers |
| IoT, embedded devices, firmware | Yes | Little memory, high reliability requirements |
| Old C/C++ code with regular vulnerabilities | Yes, step by step | New modules in Rust, old ones as needed |
| CRM, online store, SaaS with a typical backend | Almost never | The bottleneck is usually the database and queries, not the language |
| MVP or startup before product-market fit | No | Speed of change matters more than speed of code |
| Small team with no Rust experience | No | Risk of ending up with code nobody can maintain |
A good rule: if you cannot name a specific number that Rust will improve, such as latency, the server bill or the number of incidents, it is not time to rewrite yet.
Alternatives to a full rewrite
Most often a business needs not a new language but one of these solutions. They are cheaper, faster and deliver results in weeks, not months.
- Profiling and optimization. Measure where exactly the system slows down. Often it is a few slow database queries, a missing cache or extra API calls that can be fixed in days.
- Rewrite only the hot part. As at Discord: one service or even one function in Rust, while the rest of the product stays as it is. For Python and Node.js such modules plug in directly.
- Choose a simpler language. Go, Kotlin or C# give memory safety and good speed, and there are far more people on the market. That is what the TypeScript team did.
- Fix the architecture. Job queues, caching, splitting heavy parts into separate services. As the Cloudflare case showed, architecture often brings the main savings.
- Write new code differently, leave old code alone. The Google way: new modules in the new language, while stable old code keeps working.
In 2026 AI agents made moving code from one language to another cheaper. But they do not cancel the essentials: tests, checking the logic and the question "do we need this at all".
Want your app to run faster and your server bills to shrink, without months of rewriting?
OWlab finds and fixes bottlenecks: slow database queries, missing caching, wasted load and weak spots in the architecture. You get a noticeable result in weeks, not months.
Checklist: 7 questions before you rewrite
If your team proposes rewriting the product in Rust or any other fashionable language, ask them these questions:
1. What business problem are we solving? Slowness, server costs, vulnerabilities, outages? "The code is outdated" is not an answer.
2. Where are the numbers? Measurements of latency, load and incidents before, and the expected result after.
3. Is the bottleneck really the language? Or the database, the network, the architecture?
4. What does it cost, including frozen features? Not just development hours, but months without new releases.
5. Who will maintain the code in a year? How many people on the team know the language, and what happens if they leave?
6. Can we start with one module? If not, that is a warning sign.
7. How do we roll back if something goes wrong? In a good plan the old and new versions run in parallel, and traffic is switched over gradually.
If most answers are vague, you need diagnostics, not a rewrite.
Your app is slow, server bills keep growing, and your contractor says you have to rewrite everything?
Don't rush to spend months and budget. OWlab will run a technical audit of your product: we will find what really slows it down and eats money, show it in numbers and optimize the app so it runs faster and costs less, without unnecessary rewriting.
Rust is a trademark of the Rust Foundation. This article is independent and is not reviewed or endorsed by the Rust Project or the Rust Foundation.
FAQ
Is Rust really faster than other languages?
Rust is close to C and C++ in speed and is usually faster than Python or Node.js. But in a typical web product, response time depends mostly on the database and the network, so the gain from changing the language can be barely noticeable.
Does Rust make a product secure?
It removes a whole class of vulnerabilities: memory errors. Logic errors, weak authorization and wrong configuration are still possible in any language.
How long does a rewrite in Rust take?
One small service can be moved in a few weeks. A full rewrite of a large product usually takes months or years, which is why large companies do it step by step.
Should a startup start with Rust?
Usually not, unless the product is a system by nature: a database, a browser, a blockchain or embedded software. At the MVP stage it matters more to test ideas quickly and hire people easily.
How do I find out what is really slowing my product down?
Start with profiling and monitoring: where request time goes, which database queries are slowest, where load is wasted. This is a standard part of a technical audit, and it often shows that you do not need to change the language at all.