News for hackers. Stuff that matters.
Re:Rust needs a web framework for lazy developers by lovethevoid on Sunday October 06, 2024 @06:54PM (#41761053)
If you find the language rigorous, a web framework can't magically do away with that. It's genuinely illogical to believe so. There are plenty of web frameworks on Rust that are quite nice to use, but they are still Rust, with all its shortcomings in the same way Django is still Python with all its shortcomings.

What you're asking for is a DSL built on top of Rust for the purpose of creating web apps.

Re:Rust needs a web framework for lazy developers by phoronixrly on Sunday October 06, 2024 @07:08PM (#41761156)
Show me where I asked for a framework that magically turns Rust into Ruby. The person has created a list of (high-level!) features that they need. None of them are 'no borrow checker'.
Re:Rust needs a web framework for lazy developers by bigiain on Sunday October 06, 2024 @09:28PM (#41761915)
I reckon "Rust on Rails" would be a great idea.

It'd be cool to have an out of the box "90% of what a website needs" toolkit that means writing your 10% custom code/secret-sauce in a modern code security obsessed language. Even if it is opinionated and "batteries included" in ways that make some things annoying.

I have built many projects that start with a WordPress install, to piggyback it's CMS, user management, and admin backend. I then inevitably end up making a choice between writing the project in php, or jumping through hoops to use the WP features (like auth and user accounts) in some other language that's more appropriate to the task at hand.

Re:Rust needs a web framework for lazy developers by satvikpendem on Monday October 07, 2024 @01:24AM (#41763043)
Loco.rs is what you're looking for.
Re:Rust needs a web framework for lazy developers by scns on Monday October 07, 2024 @04:45AM (#41763984)
There is Rust On Nails too.
Re:Rust needs a web framework for lazy developers by hinkley on Sunday October 06, 2024 @08:15PM (#41761552)
Counter example: stringly typed code can be written anywhere.
Re:Rust needs a web framework for lazy developers by kelnos on Sunday October 06, 2024 @08:46PM (#41761706)
I mean, OP is working on such a "magical" web framework now. Time will tell how it turns out, and how usable and magical it ends up being. But at least the author isn't just whining; she's put her hands to the keyboard and is going to try to get it done.

> What you're asking for is a DSL built on top of Rust for the purpose of creating web apps.

I don't think that's necessary, personally, but if someone really wanted that, I'm sure they could come up with something that can be wrapped in a Rust macro invocation, that gets expanded to something smaller and faster (compiled-code-wise) than anything you can get in a Rails app.

Re:Rust needs a web framework for lazy developers by jen20 on Sunday October 06, 2024 @10:01PM (#41762089)
Rigorous isn’t the same thing as tedious?