4 ms·
What kind of logic is this... The Rust language is quite rigorous, so web frameworks on it should also be equally laborious to work with? You have to roll your
by phoronixrly 2y ago
What kind of logic is this... The Rust language is quite rigorous, so web frameworks on it should also be equally laborious to work with? You have to roll your own authentication, you have to do your own routing, you have to do ad-hoc string manipulation instead of templates?...
The person likes writing in Rust, and would like to have a batteries-included web framework so they can tie together a web app quickly on the language they like to use... And I know they did not include https://rocket.rs/ https://rocket.rs/ in their 'existing ecosystem' section.
- lovethevoid 2y agoIf 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.
- phoronixrly 2y agoShow 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'.
- bigiain 2y agoI 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.
- satvikpendem 2y agoLoco.rs is what you're looking for.
- scns 2y agoThere is Rust On Nails too.
- hinkley 2y agoCounter example: stringly typed code can be written anywhere.
- kelnos 2y agoI 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.
- jen20 2y agoRigorous isn’t the same thing as tedious?