Laravel Rust Is Here, and I'm Already Porting
Laravel Rust just landed in beta and I've already started moving one of my projects over. Here's why I'm this hyped, and what it means for the ML services we've been bolting on.
I’m really excited about this. Like, incredibly excited. Laravel Rust is out, and I’ve already started porting one of my projects over. It’s literally happening while I write this.
Yes, it’s in beta. No, I don’t care. Every now and then something comes along where you just know it’s going to land, and this is one of those.
We kind of saw this coming
This didn’t come completely out of nowhere for me. In our tech talks, a few friends and I kept coming back to the same idea: what if you took everything that makes Laravel so good to work with, all the conventions and the “there’s already a way to do that” feeling, and put a compiled language underneath it?
It was always going to be Go or Rust. Most of us bet on Go. It’s easier to pick up, the learning curve is a lot friendlier, and it seemed like the natural fit for a framework that’s so focused on developer experience.
They went with Rust. I’m not complaining.
Performance, obviously
The first thing everyone’s going to talk about is speed, and for good reason. Laravel conventions with Rust underneath means the performance gains are going to be huge. For a lot of apps that’s a nice bonus. For us it changes how we can build things.
The part I’m actually most stoked about
We run a couple of machine learning services. For as long as we’ve had them, they’ve lived outside the app. We bolted them on, ran them as their own thing, and the main application had to treat them like an external dependency and call out to them. It worked, but it never felt right.
With Laravel Rust, we can just pull those services into the monolith and call them as native functions. They live in the same codebase as everything else. Honestly, that alone would’ve been enough to get me on board.
What’s next
I can’t wait to dig deeper into Laravel Rust. The port is moving, I’m learning a ton, and I’m having more fun with a new stack than I have in a long time.
I’m so stoked. More once the port is further along.
Source: Laravel Rust