r/rust • • 1d ago

🎙️ discussion Laravel Rust

I’m primarily a PHP engineer, but wondering how the Rust Community feel about the announcement of Laravel Rust (https://laravel.com/rust)?

141 Upvotes

75 comments sorted by

View all comments

1

u/Alternative-Tie-4970 1d ago

I am completely out of the loop of this one. What is it trying to do?

8

u/nicoburns 1d ago

It's a Ruby on Rails competitor: a "batteries included" web framework.

3

u/Rubfer 1d ago

while there may be some bloat, i really like "batteries included" web frameworks, it standardises things so all projects will follow the same structures, its good for both humans and llms

3

u/Zde-G 1d ago

Attract PHBs by combining two “hot” buzzwords.

It may even work, I don't see why not. It's completely useless and pointless thing… but that doesn't mean it wouldn't work.

8

u/superjared 1d ago

I don't think it's either useless or pointless. There's value in having a heavy-hitter like Laravel support a well-documented and opinionated framework. Maybe not for most people here (l33t hax0rs), but definitely for the industry as a whole.

-2

u/Zde-G 1d ago

There's value in having a heavy-hitter like Laravel support a well-documented and opinionated framework.

What exactly is that value, pray tell?

Maybe not for most people here (l33t hax0rs), but definitely for the industry as a whole.

Maybe if you include sale of 0-day vulnerabilities.

Yes, “well-documented and opinionated framework” grown naturally may be useful: it creates certain community around it, people learn its quirks, gradually, it becomes its own thing.

But that's not what we have here, it's Nokia 3210 (2024): something that is totally unrelated to that framework, a mishmash of technologies that are separate and existed before it, under familiar name, for marketing purposes.

No one knows it, except for LLMs — and LLMs can just as easily use components without needed this premade mish-mash.

Worse: LLMs tend to prevent creation of communities that, in the past, “opionated frameworks” have grown around themselves.

Means such framework is useless for LLM users and useless for non-LLM, old school, developer, too… who is left? PHBs? Well… this would probably work, as I have said: if you ask LLM to use what's included in Laravel then it wouldn't hurt too much (especially in the beginning when components used are still one of the best available), but over time it's value would be, most likely, negative.

5

u/superjared 1d ago

The value is the company behind it. Laravel is known and respected, which you may not care about, but lots of people and companies do. For them to create a 1st party framework for Rust is to tell all of their current customers they now have a “secure” and “fast” option.

As far as LLM integration, you’re right but only for so long. If you’re diligent, you can point your agent at the documentation and have sub-agents do the token-heavy work, etc. But the larger point is that this won’t be true in 2 years. In 2 years, Laravel Rust will likely have a relatively strong ecosystem and will largely be baked into models by that point.

0

u/Zde-G 1d ago

Laravel is known and respected, which you may not care about, but lots of people and companies do.

Isn't that what I wrote?

In 2 years, Laravel Rust will likely have a relatively strong ecosystem and will largely be baked into models by that point.

In 2 years Laravel Rust will likely be starting to show its age and people would talk about hacks needed to replace parts of it.

Fundamental ideas are already there, in models and you don't need to bake syntax in your models to use the new library or crate — that's how agents may use Laravel Rust now — but by tying components together you are making it harder to replace some or all of them.

That's why Rust haven't produced gigantic, all-encompassing, crates like Qt or, indeed, Laravel… till now, I guess.