When Taylor Otwell announced Laravel Rust my first thought was better get on the Rust wagon before it leaves us lol. Then I started thinking about what it would mean to build a normal SaaS on it, and the thing I kept coming back to is compile time, because I ship much faster with TypeScript on Bun than with Ruby, PHP or Rust, and compilation is a big part of why, so I timed it.
To be fair to Laravel Rust first, it's a serious piece of work. The framework is 22 crates and about 200,000 lines of Rust source with another 109,000 lines of tests, against about 255,000 lines of PHP in the Laravel framework itself, and the first commit was on 5 October 2026, so the "two months" in the announcement holds. It's a 0.1 release and some pieces of Laravel PHP are still missing, and it's already big.
What did I measure?
The loop I care about when I'm building is changing one line of backend code and waiting until the server answers with the change. And the production build, because every deploy pays for that one.
The two sides had to be about the same size, or the test would mean nothing. On the Rust side I used Laravel Rust's crates/http, which is 42,833 lines, built from source so it rebuilds the way your own app code would. On the Bun side I used WarpKit, my SaaS template, which is 38,942 lines of TypeScript and runs on Bun with Vite. It's the same template RunMist, NoDramaMail and my other sites are built on.
Everything ran on my own machine, one test at a time, an AMD Ryzen 5 5600T with 12 threads and 31 GB of RAM, under WSL2, with Rust 1.99.1, Bun 1.4.5 and Vite 8.1.6. Each edit ran three times.
How long does a backend edit take?
| One-line backend edit, until the server answers with it | Laravel Rust (crates/http) | WarpKit on Bun |
|---|---|---|
| A change inside a function | 5.2 to 5.9 s | 0.86 to 0.88 s |
| A new public function | 5.5 to 5.9 s | 0.75 to 0.88 s |
In Rust that's a debug build after the change and a restart of the server, and on Bun it's Vite reloading the changed module while the dev server keeps running. So it's about 5.5 seconds against under one, about 6 times longer on every save.
I also tried the Laravel Rust app skeleton on its own, which has only 261 lines of its own code on top of the framework, and there an edit took 1.7 seconds against 0.5 on one of my Bun sites. So on a small app Rust feels fine, and the gap grows with the size of the code you're actually changing.
5.5 seconds doesn't sound like much once, but I save a backend file all day, and to me it's a lot, it adds up, and it's the moment I go and check something else and lose my train of thought.
What about the production build?
This is the one I didn't think about at first. You don't deploy the debug build, so every release compiles again, with optimizations on.
| Production build | Laravel Rust (cargo build --release) | WarpKit (bun run build) |
|---|---|---|
| From clean, like a fresh deploy server | 125.0 s | 10.1 s |
| After a one-line edit | 46.9 to 47.0 s | 9.2 to 9.9 s |
About 12 times longer from clean and 5 times longer after an edit, and the Rust binary came out at 73 MB. These numbers are from a 12-thread machine. A small cloud server, the kind I deploy to, has far fewer cores, so both would take longer there, and I haven't measured how much.
Isn't Rust faster where it counts?
Yes, Rust runs faster, because it compiles to machine code and has no garbage collector, and if your app is doing heavy computation, or you're writing a proxy, a terminal tool or a desktop app, that matters and I'd pick it too. I see it more as a systems language. But very few companies in the world need Rust's performance gains for a real world business application. Most of the time a request is waiting on the database or another API, and the trade you're making is that speed against the time you spend compiling, every save and every deploy.
There's also everything around the build. With mise I can run any TypeScript app on any OS, while Ruby needs Puma or Falcon, PHP usually NGINX and the PHP binaries in a Dockerfile, and Rust the long compile times we just measured.
What I didn't measure
Frontend edits, because in Laravel Rust the frontend goes through Vite with React or Vue, the same as on Bun, so I'd expect no difference there. Runtime speed, which Rust wins, and which isn't what this post is about. And a real app with many crates of its own, where incremental builds could be better or worse than one big crate.
So what am I going to use?
TypeScript on Bun, that's my bet with RunMist. All my projects on it run on Bun, and it deploys Next.js, Nuxt, SvelteKit, Astro, Hono and the other JS/TS frameworks to your own server, so a 10-second build stays a 10-second build. If you want to start from the same template I timed here, that's WarpKit.