Laravel for Rust and Go
Laravel's ports to Rust and Go, tried on a real package: how the same app performs on PHP, Rust and Go, and how the package was ported and kept at parity with PHP.
-
Part 1
Laravel for Rust and Go, first look: the same app, measured against PHP
The same small Laravel app on Laravel 13, laravel-rust 0.1.4 and Laravel Go 0.1.1, in containers pinned to cores. At one CPU Rust serves about 4,500 requests a second on the home page, Go about 3,000 and tuned PHP-FPM about 108. Go has the smallest image and the lowest median latency at one CPU, with a 99th percentile that CPU throttling explains. Numbers from 432 load runs, on two frameworks that are days old.
-
Part 2
Porting a Laravel package to Rust and Go: a retrospective
Between 1 and 3 December 2026 I ported laravel-codicefiscale to Laravel for Rust and to Laravel Go, with Claude Code agents doing the coding. How each Laravel piece moved (validation rule, Eloquent cast, Faker provider, Artisan command, government dataset), how a golden corpus exported from PHP proved parity, and the bug the second port found in the first.