Laravel Rust is presented as a full-stack web framework that brings Laravel’s familiar, batteries-included approach to Rust. It combines asynchronous routing and dependency injection with compile-time-checked models and queries, database migrations, caching, storage, authentication, authorization, social login, notifications, validation, and testing. Inertia integration lets handlers render React, Vue, or Svelte pages directly, avoiding a separately maintained API; traditional server-rendered templates are also supported. The framework builds on Tokio and Axum, and offers background queues, recurring tasks, WebSocket broadcasting, and durable workflows that checkpoint results and can resume after sleeps, restarts, or deployments. Its creators also emphasize coding-agent support, including project instructions, framework-specific skills, and version-matched documentation bundled with new projects.
The central argument is that Rust’s native compilation and type safety can deliver substantially higher performance without giving up the integrated development experience Laravel users expect. Reported Laravel Cloud comparisons show 1,774 requests per second versus 97 for Laravel PHP, median latency of 62 versus 78 milliseconds, memory use of 16 versus 134 MB, and median scale-to-zero wake time of 154 versus 712 milliseconds. The measurements use specified workloads: peak throughput during a 20-minute ramp, latency and memory at a steady 50 requests per second, and wake times across nine regions. Laravel Rust supports PostgreSQL, MySQL, and SQLite through a shared API, is MIT-licensed, and can run on Linux servers, with Laravel Cloud offering built-in deployment, autoscaling, and scale-to-zero.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.