Tooling & Trends•14 min read•11/27/2026

Is Everyone Rewriting in Rust? I Went to Check Who “Everyone” Is

Bài này có bản tiếng Việt. Đọc bản tiếng Việt →

Nguyen Hai Trinh

Nguyen Hai Trinh • Senior Software Engineer @ SmileViet

Rusted gears half-buried in beach sand next to a rock
Photo: Moximox · CC BY-SA 4.0

Every few months a LinkedIn post shows up that goes: “Everyone is rewriting in Rust now, what are you waiting for?” Complete with a bright green chart, a crab, and the words “blazingly fast” appearing more often than the poster actually ran a benchmark.

I haven’t written a single line of Rust. I only use tools written in Rust, like millions of other frontend devs, and I have no idea where they live inside node_modules. So I went to ask who “everyone” is. Wherever a number was measured by the vendor itself, I label it “self-reported”.

How many people is “everyone”?

The 2025 Stack Overflow survey asked who had done extensive development work with which language in the past year. Among all respondents: Python 57.9%, TypeScript 43.6%, Go 16.4%, Rust 14.8% (source). The 2026 edition, published October 6, 2026, puts Rust at 12th most used, across more than 30,000 respondents.

TIOBE, November 2026: Rust at #11 with 1.63%, just behind Go at #10. In November last year Rust was #14 (source). RedMonk, Q1 2026, has Rust at #20, with Dart having just overtaken it (source).

Rust is rising, for real. But next to TypeScript, “everyone” is still about 29 percentage points away. Here it is drawn out:

Horizontal bar chart: Python 57.9%, TypeScript 43.6%, Go 16.4%, Rust 14.8% per Stack Overflow 2025

The chart Rust usually tops is Stack Overflow’s “most admired”. It only counts people who used the language in the past year and want to keep using it. In other words, you walk into the club and ask the members whether they like the club. Not hard to guess the answer.

That same community also lists its own pain. The 2024 State of Rust survey: slow compilation tops the list, async leaves many people struggling (literally “an all-time favourite”), and there’s worry that the language keeps getting more complex (source). The survey asks the Rust community, so read it as feedback from regulars.

Rust wins biggest where you never have to write Rust

Build, lint, format tools. Most of the evidence is here.

Next.js ships a compiler written in Rust on top of SWC, and the Vercel docs themselves say it’s 17x faster than Babel (source). Biome claims to be about 35x faster than Prettier. Oxlint claims 50 to 100x faster than ESLint. “Claims” is deliberate. Those benchmarks are run by them, on machines they picked.

Now compare with someone measuring from the outside. Chris Boakes took a small Astro site, 43 pages, ran Vite 7 and then Vite 8 (Rolldown, written in Rust), 5 runs each, took the median. The bundling step got 3.2x faster, from 765ms to 238ms. Sounds great. But his conclusion: “The bundling step got 3.2x faster. The whole build got 0.7 seconds faster.” The whole build went from 7.34 seconds to 6.64 seconds, about 9.5%, because bundling is only about 11% of the time (source). Vite 8 itself advertises “up to 10-30x faster builds” (source). Both numbers are correct. They measure two different things, then get parked next to each other under the same headline. Same Boakes data, as a percentage of Vite 7:

Chart comparing Vite 8 with Vite 7: the bundling step takes 31% of the time, the whole build about 90%

The most instructive real-world case I found is Mews. They moved from Webpack to Rspack and CI build time dropped 80%, from roughly 300 seconds to 50 to 60. Step by step, from their own write-up:

flowchart LR
  A["Starting point<br/>about 300s"] --> B["Webpack to Rspack<br/>about 230s"]
  B --> C["swc-loader replaces babel-loader<br/>about 140s"]
  C --> D["SWC minifier replaces Terser<br/>about 80s"]
  D --> E["Minus the packaging step<br/>50 to 60s"]

Rspack only got them from 300 down to 230. The rest came from swapping babel-loader and Terser for SWC versions (source). Their article says exactly that. It’s the skimmers who add “thanks to Rust” to the headline.

One more detail for fun: esbuild is written in Go, Bun in Zig, and both are in the race for fastest bundler (RedMonk, Dec 2025). Fast was never one language’s monopoly.

And a side note. Astral, the company behind uv and ruff, announced it’s joining OpenAI on March 19, 2026 (source). The fastest Python tooling around is written in Rust, and now belongs to an AI company. I’m leaving that here and drawing no lesson from it.

What about MoMo?

I wanted a Vietnamese case, and MoMo is a candidate: a move to Re.Pack, the bundling toolkit that replaces Metro for React Native. I read Callstack’s case study. It says MoMo was migrating to Re.Pack to improve overall performance and developer experience, for more than 23 million users (source).

That’s it. The page doesn’t mention Webpack, doesn’t mention Rspack, and has no performance numbers. Re.Pack runs on either. The version that supports Rspack (Re.Pack 5) shipped on February 27, 2025, while the case study dates the project to 2023. I looked for MoMo’s engineering blog, Viblo, conference talks. Nobody says which bundler runs underneath.

So the most honest sentence I can write: MoMo moved to Re.Pack, and whether there’s Rust underneath, I don’t know. If anyone at MoMo reads this, message me and I’ll fix it right away.

Backend: every shop has its own reason

This is the part most often quoted wrong, so I went back to each company’s original post.

Discord, 2020

The most quoted case, and usually quoted by people who haven’t read the post. Discord did not move to Rust. They rewrote one service called Read States, which tracks how far each user has read in each channel. It sits on the hot path and holds a huge LRU cache.

Go was forced to run a garbage collection at least every 2 minutes, and each time it had to scan that whole cache. Latency spiked like clockwork. They tuned the GC percent, and in their words “nothing changed”. They tried Go 1.8, 1.9, 1.10, no relief. Rewritten in Rust and optimized further, the Rust version beat Go on latency, CPU and memory (source).

The post is from February 2020, when they were on Go 1.9.2. Since then Go redesigned its pacer in 1.18 and added GOMEMLIMIT in 1.19 (gc-guide). Would Discord’s problem still happen today? I found no evidence either way. Anyone who says they’re sure is overclaiming past what I know.

Cloudflare, Pingora, 2022

At the same traffic, the new proxy uses 70% less CPU and 67% less memory than the old one. Sounds like an ad for Rust. But the original post says: “This is not because we run code faster.” And then: “The savings come from our new architecture which can share connections across all threads.”

The old NGINX kept connection pools per worker. Pingora shares them across threads, so the connection reuse ratio jumped from 87.1% to 99.92%, and a pile of TLS handshakes disappeared. They also say Rust runs more efficiently than the old Lua (source). How much of the 70% belongs to the language? The post doesn’t split it out, and neither can I.

Prisma, 2025

The opposite direction. Prisma used to have a query engine written in Rust, and dropped it for TypeScript. Their own stated reason: “Contributing to the query engine requires a combination of Rust and TypeScript proficiency”. Each operating system and OpenSSL version needs its own binary. Big Rust binaries don’t fit serverless and edge well. The bundle went from about 14 MB to about 1.6 MB (source).

Prisma 7 (Nov 19, 2025) is Rust-free by default. The benchmarks that came with it were run by Prisma itself, and I couldn’t find an independent one. What changed here is the architecture: the boundary between Rust and JS is gone. Don’t read it as “TypeScript is faster than Rust”.

Side ticket: Microsoft picked Go

When Microsoft rewrote the TypeScript compiler as a native port, building VS Code went from 77.8 seconds to 7.5 seconds, 10.4x faster (source). The reason for Go is in a separate discussion by Ryan Cavanaugh. Priority number one was keeping the new codebase as compatible as possible with the old one, because “Idiomatic Go strongly resembles the existing coding patterns of the TypeScript codebase” (source). I didn’t see Rust mentioned in it. Ten times faster, and Rust wasn’t in the room.

The four side by side:

Who What they picked Reason in their own words
Discord (2020) Go to Rust, one service GC scanning a huge LRU cache caused latency spikes
Cloudflare (2022) NGINX/Lua to Rust Connection sharing across threads, memory safety
Prisma (2025) Rust to TypeScript Hard to contribute to, per-platform binaries
Microsoft (2025) TypeScript to Go Compatibility with the existing codebase

Desktop: Tauri, and the vanishing RAM numbers

Tauri is the story I hear most over coffee: drop Electron, Tauri is lighter, saves RAM.

On popularity: in the 30 days to November 27, 2026, @tauri-apps/api had about 20.3 million npm downloads, while electron had about 54.3 million. Electron is roughly 2.7x bigger. On GitHub, Tauri has 113 thousand stars, Electron 124 thousand. Both are indirect signals, since downloads get inflated by CI and packaging tools. But if you need one sentence: Tauri is really growing, and still smaller.

On RAM, I found exactly one benchmark that describes its method, by dawloom, measured on Windows 11 with an i7-1185G7. Idle private memory: Tauri 2.12 at 142 MB, Electron 44.4 at 149 MB. Working set is higher for Tauri, 333 MB versus 298.6 MB. The biggest gap is the installer: 1.05 MB versus 106.1 MB (source).

The fine print: Electron ran once, Tauri five times with the median taken, Windows only, and the app is a single click counter. Still, far better than the “100x lighter” posts I came across, because at least they wrote down the conditions. As a percentage of Electron, for easier comparison:

Chart comparing Tauri with Electron: idle memory 95%, working set 111.5%, installer about 1%

As for “ditch Electron because of RAM”, I found no evidence supporting it. On Windows, Tauri uses WebView2, and WebView2 is also Chromium. A small gap is easy to understand.

The cost is somewhere else: WebView isn’t the same across operating systems. Per the Tauri docs, WebView2 on Windows updates itself. WKWebView on macOS updates with the macOS release. On Linux it’s WebKitGTK, depending on the distro (“Linux distributions vary widely”, Ubuntu 22.04 ships WebKitGTK 2.36) (source).

Paseo tripped on exactly this. They dropped Tauri and went back to Electron, and wrote a post titled “I was wrong about Electron” (May 28, 2026): “The WebKitGTK bindings Tauri was using were too old”, plus Wayland problems, and the line I like best: “I was building Electron with extra steps” (source). The author isn’t calling Tauri bad. He’s saying it was the wrong choice for Paseo.

A few things worth knowing before you pick. Tauri’s auto-update requires signing, and per the docs, if you lose the signing key you can’t publish updates any more (source). Tauri is at 2.12.7 (Nov 18, 2026). Tauri 3 is in alpha and has breaking changes.

Then Discord shows up again, this time on desktop. Per a Linebender post (Nov 21, 2026) and press citing the Discord CTO’s posts on X (Nov 4, 2026): a project called Phoenix, literally “it’s not Tauri, it’s GPUI”, an early build at roughly 290 MB of RAM (Linebender). I couldn’t find an official post on discord.com. According to those sources it hasn’t shipped. So the accurate version: one company is trying it, no published results.

Same technology, two verdicts

A little way off Rust. There’s a pair of cases that explains why the sections above reach no conclusion.

In 2018 Airbnb published a series called “Sunsetting React Native”. The first line: “Due to a variety of technical and organizational issues, we will be sunsetting React Native”. I couldn’t open the original Medium page, so this is quoted via a secondary source, and I’m not describing the technical details because I haven’t read them.

Shopify went the other way. They chose React Native in 2020. In January 2025 they wrote a five-year retrospective with the line I remember best: “100% React Native should be an anti-goal” (source). They were never on the team “everything should be React Native”.

Then on September 10, 2026, the same Shopify published “Native is now the future of mobile at Shopify” and moved all of its mobile apps to Swift and Kotlin (source). The dates side by side:

timeline
  title React Native at Airbnb and Shopify
  2018 : Airbnb drops React Native
  2020 : Shopify picks React Native
  January 2025 : Shopify writes that 100 percent React Native should be an anti-goal
  September 2026 : Shopify moves all mobile apps to Swift and Kotlin

The official reason, verbatim: “building the same feature in Swift and Kotlin no longer carries the cost it used to”. AI pushed down the price of writing everything twice. They still call React Native an excellent framework, and admit: “Native still means building and maintaining software on two platforms, that cost has not disappeared.”

The Shop app numbers: about 12 weeks from prototype to the store, a core group of six engineers, cold start 23% faster on iOS and 50% on Android, an Android build 109 MB smaller, session stability from above 99.5% to above 99.95% (source). All of it published by Shopify itself. The Pragmatic Engineer (Sep 29, 2026) adds that React Native’s New Architecture only improved startup by about 10% on Android and 3% on iOS (source). In the same piece, Shopify’s Farhan Thawar says: “React, as the shared language, is now replaced by the English language, thanks to LLMs.”

Coinbase is also reported to be moving its retail trading app to native, for the same reason: AI cut the cost of building a feature twice. My source is a blog post quoting a LinkedIn post from an engineering manager there (source), so treat it as secondhand.

Same React Native: Airbnb dropped it in 2018, Shopify adopted it in 2020 and dropped it in 2026. The framework stayed the same. What changed was a number sitting underneath every decision: how expensive it is to maintain two codebases.

This loops back to Rust in a slightly ironic way. RedMonk, commenting on Rust at #20, wrote that coding assistants “should be lowering some of the barriers to entry with Rust” but “it’s not observable yet” (source). AI may make Rust cheaper to learn, but the analysts haven’t seen proof. Neither have I.

Five questions before you rewrite anything

I pulled these from the cases above.

  1. What is the real bottleneck, and have you measured it? Mews found the time was going to the loader and the minifier. Boakes found bundling was only 11% of the build. Discord knew the bottleneck was GC because they saw a spike every two minutes.
  2. Who pays the cost? Rust in build tools is cheap because users don’t have to learn it. Prisma left Rust because the people contributing code had to know both languages.
  3. How many people on your team can read that code at 3 a.m.? I have no data for this one. Slow compiles, tangled async and complexity are the three things the Rust community lists itself.
  4. Who measured the number you’re relying on? Vendor-measured numbers, outsider-measured numbers, and numbers in an ad with no hardware listed are three different kinds of number.
  5. Which assumption is holding this decision up, and when does it stop being true? Shopify chose React Native because writing twice was expensive. The assumption changed, so they changed.

I still haven’t written Rust. If I ever learn it, it’ll probably be because of one specific service where the garbage collector keeps me awake, Discord in 2020 style. A LinkedIn post telling me I’m being left behind isn’t enough.

Need a developer for a contract or freelance project?

I take on fullstack projects — Go backends, React/Next.js frontends, or both ends. Send a few lines about the scope and timeline and I'll reply within 48 hours.