On December 1st, two announcements caught my attention.
Taylor Otwell introduced Laravel Rust, an official full-stack web framework bringing Laravel’s philosophy to an entirely different programming language.
On that same day, VoidZero published their November recap, with some rather impressive performance improvements across their JavaScript toolchain.
As someone who spends quite a bit of time in both ecosystems, I find the combination particularly interesting.
Over the last couple of years, it feels like every other announcement in web development involves Rust. Bundlers, linters, formatters, compilers. And now, even Laravel.
I’m not convinced everyone is going to become a Rust developer. I am, however, starting to wonder whether coding agents are changing some of the reasons we choose programming languages in the first place.
You’re probably already using Rust
You might be using Rust without having written a single line of it.
Take a look at some of the tools in the JavaScript ecosystem:
- Rolldown for bundling.
- Oxlint and Oxfmt for linting and formatting.
- SWC for compiling JavaScript and TypeScript.
- Biome for formatting and linting.
- tsrs for TypeScript analysis.
I’ve been using several of these tools across my own projects. In fact, I recently rebuilt my own website with Astro, Vite+ and Void, moving from Biome to the tooling included in Vite+.
The funny thing is that my application code hasn’t fundamentally changed. I’m still writing TypeScript, building websites with Astro and applications with Vue.
What changed is the software processing that code.
A bundler written in Rust still produces JavaScript for the browser. A formatter written in Rust still formats my TypeScript. I don’t need to learn another language to benefit from either of them.
And that, I think, is a big part of why Rust has been so successful in JavaScript tooling.
Even TypeScript itself is getting this treatment. In October, Cloudflare and VoidZero announced tsrs, a Rust port of the TypeScript compiler developed in collaboration with the TypeScript team. TypeScript had already moved its own compiler to Go. Now there’s another implementation, aiming to preserve the same language while making it easier to run the compiler in environments like the browser through WebAssembly.
The language you write and the language your tools are written in really don’t have to be the same.
The interesting part about those benchmarks
VoidZero’s November recap includes a few numbers worth looking at:
| Operation | Reported improvement |
|---|---|
| Type-aware linting with tsrs vs. typescript-eslint | Up to 98× faster |
| Oxlint with tsrs vs. separate typescript-eslint and tsc runs | Up to 122× faster |
| Native Vue formatting in Oxfmt vs. its previous implementation | 12–31× faster |
| Idle memory in a Rolldown-powered Vite dev server on macOS | 1,411 MB → 216 MB |
These are benchmarks reported by the tool authors, on particular workloads. They aren’t a promise that your project will become a hundred times faster. And they aren’t all improvements attributable to Rust itself. Sharing work between tools and improving the implementation matter too.
What interests me more is how speed changes behaviour.
If checking a project takes thirty seconds, I’m probably not going to run that check after every small change. I’ll make a few changes, run it, and hope I remember which change caused an error.
If it takes less than a second, why wouldn’t I run it more often?
That’s also something I’ve enjoyed about Vite+. Having formatting, linting and type checking available through one command makes checking my code less of a decision in the first place.
Now imagine how many times a coding agent can go through that same process while working on a feature.
And now there’s Laravel Rust
Laravel has always been one of my favourite examples of developer experience done right.
Routing, authentication, database models, queues, scheduling, mail. All those things you end up needing when you build an actual application, brought together in one ecosystem.
Laravel Rust brings that approach to Rust. It isn’t a line-by-line rewrite of Laravel PHP, and it isn’t replacing it. It’s a new framework, currently in beta, designed around a different language and runtime.
It even supports Inertia. So I could build an application with Laravel Rust on the backend, Vue and TypeScript on the frontend, and the same Vite-based tooling I’m already using elsewhere.
There’s a fairly important distinction here, though. Replacing a JavaScript linter doesn’t require me to rethink how I write my application. Switching from PHP to Rust does.
But I wouldn’t have to give up all the conventions and ideas that made me like Laravel in the first place. Laravel can be more than a PHP framework; it can also be an approach to building applications.
That’s a pretty exciting prospect.
Why now? I think AI has something to do with it
Rust isn’t new. Neither are performance, memory safety or strong typing as arguments for using it.
The trade-off has traditionally been the time and expertise required to build something. There’s a reason PHP and JavaScript have been so popular for web development. It’s relatively easy to get an idea out of your head and into a browser.
Coding agents are changing part of that equation.
Interestingly, the tsrs announcement also points to AI making ambitious language ports more feasible. The team plans to use agents alongside compatibility tests to keep the Rust implementation in sync with upstream TypeScript. That’s another side of the same story: agents can help us build the tools we use to verify the code agents write.
Laravel’s announcement makes that connection quite explicitly. New Laravel Rust projects even include instructions aimed at helping coding agents work within the framework’s conventions.
If an agent helps me write code in a language I know less well, some of the initial friction of using that language goes away. But I still need to understand how the thing works, maintain it and verify that it does what I intended.
A compiler can help with that last part.
In safe Rust, for example, the compiler enforces rules around ownership and borrowing that rule out many memory-related bugs. The type system also helps us express which values and operations are valid.
Those checks give an agent something concrete to work with. It can make a change, run a check, get an error and correct it. The faster those checks are, the quicker that process can happen.
That feedback loop matters just as much in TypeScript or PHP. Rust doesn’t have a monopoly on good type systems, decent tooling or automated tests. Nor is a Rust build necessarily fast, especially on a large project.
More importantly, the compiler can’t tell an agent whether a guest should be allowed to cancel a hotel booking without paying a fee. That’s a business decision. You need to express it in the application, test it and make sure it’s actually what the business wanted.
Unfortunately, we still have to think.
I’d argue that the more code we’re able to generate, the more valuable it becomes to have tools that help us verify it. And perhaps that changes what we’re willing to trade for stronger guarantees when choosing a language.
What does any of this mean for the people using our applications?
Nobody visits your website because your formatter is written in Rust.
Nobody books a hotel, buys something online or reads a blog post because you replaced PHP with a compiled language.
They care about whether the thing works, whether it’s fast enough and whether they can trust it.
There are a few ways in which these developments might actually help.
A shorter feedback loop encourages us to check our work more often. That makes it easier to catch regressions before shipping them, regardless of what language the application itself is written in.
A more efficient backend can serve more requests with the same hardware. Better bundling decisions can reduce the amount of data someone needs to download. Those are particularly meaningful when you’re using a slower device or on a bad connection.
Of course, a faster bundler doesn’t automatically produce a smaller website. And rewriting your backend in Rust won’t fix a five-megabyte hero image or a terrible database query.
There’s an economic side to this too. If I can support more customers on the same infrastructure, I might not need to upgrade my servers as quickly. For a small company or an independent developer, that’s money that can go towards building something useful instead.
And if we’re doing less unnecessary computation to deliver the same service, there’s potential to use less energy. That depends on how the infrastructure is used and whether the savings actually translate into fewer resources consumed. It’s not an automatic consequence of choosing a more efficient language.
But it’s a good reason to care about software efficiency beyond the numbers in a benchmark.
Should we rewrite everything in Rust?
No. Absolutely not.
I have plenty of applications written in PHP and TypeScript that work perfectly fine. Rewriting them just because there’s a new framework would be a rather expensive way of achieving very little.
There’s also a big difference between Laravel PHP, with years of packages, integrations and accumulated knowledge, and a framework that entered beta just this week.
Even with coding agents, expertise, debugging, security, deployment and maintenance still matter. Being able to generate code in a language isn’t the same as being able to responsibly run an application written in it.
Sometimes the best solution is still a static HTML file. Sometimes it’s a straightforward Laravel application. Sometimes Rust might actually be the right choice.
Maybe Rust isn’t really the point
I don’t think JavaScript is going away. I don’t think PHP is going away either.
What I do think is happening is that we’re becoming a little less restricted by the historical boundaries between programming languages.
I’ve already benefited from Rust in my TypeScript projects without changing the language I write my components in. Laravel is exploring whether we can keep a familiar way of building applications while changing the language underneath. And coding agents make it easier to experiment with tools and languages that might previously have felt out of reach.
The question isn’t whether the next application I build will be written in Rust.
It’s whether, given better tools and a different way of working, I’d make the same technology choices today as I would have five years ago.
I’m not sure I would. And that’s what makes this interesting.