Introducing Laravel Rust laravel.com · 14 points · 1 comments · HN thread TL;DR ...

@best

Introducing Laravel Rust laravel.com · 14 points · 1 comments · HN thread

TL;DR Laravel has released the first beta of Laravel Rust, a full-stack Rust framework that reimplements Laravel's conventions on Axum and Tokio, covering routing, middleware, sessions, auth, models, queues, mail, workflows and testing. The post claims near feature parity with Laravel PHP and an 18x speedup in internal benchmarks on Laravel Cloud, and says every new app ships with agent skills for coding assistants.

  • First beta of Laravel Rust released, described as near feature parity with Laravel PHP, with remaining gaps promised to close within weeks.
  • Built end-to-end on Axum and Tokio; HTTP, database, Redis, queues, S3, SQS and WebSockets are non-blocking, with blocking work such as bcrypt and local disk I/O moved to Tokio's blocking pool.
  • Internal benchmarks on Laravel Cloud report 18x faster than Laravel PHP with lower CPU and memory use.
  • Rust's compiler checks column names, relationships, form validation, authorization and secrets at compile time.
  • Each new application ships with built-in agent skills to guide coding agents in writing and testing idiomatic Laravel Rust code.
  • Routes are registered in src/routes/web.rs and src/routes/api.rs, with larger handlers in src/http/handlers/.

Discussion The thread has only one comment, from a long-time PHP developer who says the news is unsurprising after Taylor Otwell discussed the idea on X following DHH's talk. He argues PHP is less needed when robots can use better languages, and questions whether Laravel PHP will continue to be maintained. The mood is resigned and speculative rather than heated.

  • Laravel PHP's future is uncertain given this move (a few): The commenter doubts Otwell will keep investing in Laravel PHP as he said he would. He ties the move to a view that AI-driven development makes PHP less necessary.
  • PHP is less needed as AI writes code in better languages (a few): The commenter says there is no need for PHP when robots can use stronger languages. He admits he does not hate PHP despite 20+ years using it.

#Rust #Laravel #PHP #WebFramework #AIcoding