Laravel Rust vs Laravel Go: Which One Should You Pick?
Laravel shipped two new frameworks in two days. Laravel Rust went into beta on December 1, 2026. Laravel Go followed on December 2. Both come from Taylor Otwell, both have the same feature list, and both promise far more
Laravel shipped two new frameworks in two days. Laravel Rust went into beta on December 1, 2026. Laravel Go followed on December 2. Both come from Taylor Otwell, both have the same feature list, and both promise far more speed than Laravel PHP.
So the obvious question is: Laravel Rust vs Laravel Go, which one should you start with? The feature lists will not help you choose, because they are almost the same. The real differences are in how the code feels, what the compiler checks for you, and how long you wait for builds.
What do Laravel Rust and Laravel Go have in common?
Both are full-stack frameworks with the usual Laravel pieces built in:
- Routing, middleware, sessions, authentication and validation
- Models, relationships, migrations and a query builder for PostgreSQL, MySQL, MariaDB and SQLite
- Queues on the database, Redis, Amazon SQS or Laravel Cloud
- Durable workflows that can sleep for days and resume after a restart
- Mail, broadcasting with a built-in Reverb WebSocket server, and Inertia for React, Vue and Svelte
- OpenTelemetry tracing and full-stack testing helpers
Both start the same way, with the new Laravel CLI: laravel new example-app --rust or laravel new example-app --go. Both compile your app and its database migrations into one binary. Both ship with agent skills that teach coding agents how to write code for the framework.
Both are also beta software. The install guides for Rust and Go warn that releases before 1.0 may include breaking changes. Laravel says it plans to call Laravel Rust stable after about six to eight weeks of feedback.
How is the foundation different?
Laravel Rust is built on Axum and Tokio, and it needs Rust 1.99 or later. Every part of the stack is async. Blocking work, like password hashing, moves to a separate thread pool.
Laravel Go is built on Go's standard net/http package and needs Go 1.27 or later. There is no third-party web framework underneath. Each request runs in its own goroutine (a lightweight thread managed by Go). Your app is a normal http.Handler, so existing Go handlers and middleware plug in.
In short: Rust gives you Axum, so any Axum extractor or tower layer works. Go gives you the standard library, so almost any Go HTTP code works.
How does the code look in each one?
The clearest way to see the difference is form validation. Here is a "store post" form in Laravel Rust, from the official launch post:
#[laravel::input(fills = Post)]
#[validate(authenticated)]
pub struct StorePost {
#[validate(required, max_length = 255, unique(Post::title))]
pub title: String,
#[validate(required)]
pub body: String,
}
And the same form in Laravel Go:
type StorePost struct {
Title string `json:"title"`
Body string `json:"body"`
}
func (f *StorePost) Rules() validation.Rules {
return validation.For(f,
rule.Field(&f.Title,
rule.Required,
rule.Max(255),
model.Unique[models.Post](),
),
rule.Field(&f.Body, rule.Required),
)
}
Rust uses attributes and macros. The code is short, but a lot happens out of sight. Go uses plain functions and pointers. The code is longer, but you can read every step.
The same pattern repeats across the framework. Rust models use #[model], and jobs use #[job]. Go models are plain structs with tags, and you register jobs, migrations and commands in lists in bootstrap/app.go. In Rust, services come in through Inject<T>. In Go, you build shared services once in services/services.go and read them with services.From(ctx).
Which one catches more mistakes before production?
Laravel Rust catches more mistakes at compile time. That is the main thing you get for the longer builds.
- Column names. In Rust, column names, operators and value types in a query are checked by the compiler. In Go, the query builder takes column names as strings. Laravel Go checks them when the query is built and panics during tests if one is wrong. That is still useful, but it only helps if your tests reach that query.
-
Authorization. In Rust, every input struct must say who can submit it (
anyone,authenticated, or a custom function), or the code does not compile. The Go launch post does not describe the same rule. -
Form fields. Here Go does well. Because each rule points to a struct field (
&f.Title), a misspelled field name fails to compile. -
Secrets. Rust has
PasswordandPasswordHashtypes that keep plain passwords out of logs and keep hashes out of JSON responses.
If your team relies on the compiler as a safety net, Rust gives you a bigger net.
Is Laravel Rust faster than Laravel Go?
The honest answer: nobody has published a fair, large test yet.
Laravel's official benchmark tested Laravel Rust against Laravel PHP and other frameworks. Laravel Rust handled 1,774 successful requests per second, and Laravel PHP handled 97. Laravel Go was not in that test. The only Go framework in it was Beego, at 1,596 requests per second. Beego is a different framework, so that number tells you about Go in general, not about Laravel Go.
For Laravel Go, Otwell only says it gives up "raw top-end speed (barely!)" compared to Rust, with "very similar real-world speed and throughput."
The one public head-to-head test so far comes from Flavio Copes. He built the same small app in both frameworks and tested it on one Mac with SQLite:
- Requests per second: Laravel Go 7,631, Laravel Rust 6,019
- Idle memory: Laravel Go 24.4 MB, Laravel Rust 22.3 MB
- Release build: Laravel Go 0.97 seconds, Laravel Rust 54.98 seconds
- Binary size: Laravel Go 34 MB stripped, Laravel Rust 43 MB
Read the speed numbers with care. It is one app, on one laptop, on SQLite, with early beta versions (Laravel Go 0.1.0 and Laravel Rust 0.1.3). Flavio himself expects Rust to keep a small edge in tail latency under heavy production traffic, because Rust has no garbage collector.
The build numbers are a different story. A gap of almost a minute against one second is too large to be noise. Laravel's own benchmark also showed long Rust builds on Laravel Cloud: a median cold build of 3 minutes 1 second for Laravel Rust, the slowest of the six frameworks it tested.
So the fair summary is: both are fast, and the runtime gap between them looks small. The build time gap is large.
Which one should you pick?
Pick Laravel Go if:
- Your team already writes Go, or wants a language that new hires learn quickly
- You want fast builds and a short edit, build, test loop
- You want to mix in standard Go libraries and
net/httpmiddleware - You prefer code where you can see every step, with no macros
Pick Laravel Rust if:
- Your team already writes Rust, or is ready to learn it
- You want the compiler to check queries, authorization and secrets for you
- You care about the last bit of speed and memory under heavy load
- You are fine with slower builds in return for stronger checks
Stay on Laravel PHP if your app is not limited by server cost or speed. The new frameworks are betas. Laravel PHP has a large package ecosystem that neither of them has yet.
My take
For most teams, Laravel Go looks like the easier first step. Go is simpler to learn than Rust, the builds are fast, and the early speed numbers are close. Laravel Rust makes sense for teams that already know Rust, or for hot paths where its stricter compiler checks are worth the wait.
But both are a few days old. Run your own small test on your own data before you move anything real.
FAQ
Is Laravel Go a port of Laravel PHP?
No. Laravel calls it Laravel "reimagined in idiomatic Go." The concepts are the same, but the code follows Go style.
Do Laravel Rust and Laravel Go have the same features?
The launch posts list almost the same features for both: routing, models, queues, workflows, mail, broadcasting, Inertia and testing.
Can I deploy them outside Laravel Cloud?
Yes. Both compile to a binary you can run on your own servers. Laravel Cloud also supports both, with managed queues and scale to zero.
Are they ready for production?
Not yet. Both are in beta, and releases before 1.0 may break APIs and configuration.
Sources
- Introducing Laravel Rust, Laravel blog
- Introducing Laravel Go, Laravel blog
- Laravel Rust: 18x the throughput of Laravel PHP, Laravel blog
- Laravel Rust is here, and Laravel Cloud now runs your framework, Laravel blog
- Laravel Rust docs and Laravel Go docs
- The complete guide to Laravel Go, Flavio Copes
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.