Skip to content

Checking your reading list…

Retry

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Reader activity
0 Useful 3 Views 3 min Read — No ratings
Backend Development
3 min read

Laravel Releases Rust and Go Frameworks in Two Days, Skips TypeScript

Laravel creator Taylor Otwell released Laravel Rust and Laravel Go frameworks within 48 hours, explaining Go offers comparable performance to Rust with faster compilation and smaller disk usage, while TypeScript was skipped due to existing mature full-stack frameworks in that ecosystem.

Laravel creator Taylor Otwell announced Laravel Go one day after releasing Laravel Rust, revealing both frameworks were developed in parallel within a single monorepo. The Go version targets teams that want compiled-language performance without Rust's slow compile times and heavy disk usage.

Same Repository, Parallel Development

Both frameworks originated from the same monorepo workspace. Laravel Rust launched first, followed by Laravel Go's public beta under the MIT license the next day. The official site greets visitors with "Laravel, let's Go." and a creation command: laravel new example-app --go An animated goroutine scheduling diagram demonstrates Go's concurrency model.

Why Both Rust and Go?

Taylor explains that both Rust and Go are type-safe, compiled languages that can boost performance by an order of magnitude over Laravel PHP. However, Rust's drawbacks — heavy macro magic, large disk footprint, and multi-minute cold builds — led to a deliberate trade-off. Laravel Go sacrifices a small amount of syntax magic and negligible peak-performance difference to gain millisecond local compilation, similar real-world throughput, and significantly lower disk usage. This positions Go as the sweet spot for teams needing compiled performance but unwilling to wait on every code change.

100% Idiomatic Go, No Standard Library Forks

Laravel Go builds directly on Go's standard library net/http and goroutines, requiring Go 1.27+. No third-party web framework is wrapped. The application itself is a standard http.Handler, so existing Go middleware and handlers plug in directly. There is no hidden dependency-injection container; all shared services are explicitly wired at startup, and request-scoped state plus database transactions flow through context.Context.

Models are plain Go structs; queries use generics for a Laravel-like fluent API while staying true to Go's explicit style:

func Index(r *web.Request) *web.Response {
    posts, err := model.Query[models.Post]().
        Where("votes", ">", 100).
        Get(r)
    if err != nil {
        return web.Fail(err)
    }
    return inertia.Render("Posts/Index", inertia.Props{
        "posts": posts})
}

Batteries Included

The framework ships with everything needed for full-stack development: database migrations compiled into the single binary, queues, cross-day persistent workflows, a Go implementation of Reverb WebSocket, OAuth login, and form validation via struct-pointer binding where field-name typos are caught at compile time.

AI-Assisted Development Ready

New projects include AGENTS.md, CLAUDE.md, and a .agents/skills/ directory. Version-pinned Markdown documentation matching the exact go.mod dependencies is embedded in the module package, allowing tools like Claude Code and Codex to read local docs and generate correct code without relying on stale training data.

Why Not TypeScript?

Taylor addressed the TypeScript question directly in the official blog: the TypeScript ecosystem already has mature full-stack frameworks and communities, leaving no gap for Laravel to fill. In contrast, Go — one of the world's most widely deployed backend languages — has lacked a single full-stack framework that bundles routing, ORM, queues, auth, and seamless Inertia.js integration with React, Vue, or Svelte frontends, while defaulting to TypeScript, Tailwind CSS, and Vite and eliminating the need to write separate REST APIs.

In two days, Laravel expanded from a single-language framework to a cross-language full-stack lineup spanning PHP, Rust, and Go. Full documentation and a live demo are available at the Laravel Go website.

Reference

[1] Laravel Go website: https://laravel.com/go

For attribution, corrections or content rights, contactadmin@besthub.dev

Report an issue with this article

Discussion 0

Write a comment

Sign in to join the discussion

No public comments on this page. Sign in to comment