Live data from Hacker News

Rocket v0.5: Stable, Async

rocket.rs

1–10 of 59 posts

Re: Rocket v0.5: Stable, Async

#3
Wow, I'd honestly assumed Rocket was dead. Glad to see it continue! It takes a pretty different approach from the other Rust web frameworks (much more opinionated and all-inclusive), so it's great to have more diversity in the space

Re: Rocket v0.5: Stable, Async

#4
So glad to see 0.5 out of release candidacy! I really appreciated how async functions and event streams were handled in 0.5, and just seeing this version land will make it so much easier to justify using Rocket in production.

I still think Rocket is the most concise web framework for Rust after 5 years now of using it in projects and even newer frameworks, and also is one of the best examples of how ergonomic you can make frameworks and DSLs in-general using Rust's type system.

For those wondering what makes it so different, the "batteries included" approach really differentiates it from other web frameworks in Rust, and it reduces the total amount of boilerplate you need to setup for simple middleware, streams, and security just about everything you need to do for simple web services.

Re: Rocket v0.5: Stable, Async

#5
Hate to say that but I’d be happier if this never happened.

I think many newcomers think that Rocket is “the web framework” in Rust. And if author goes silent again they will be let down. It casts kinda bad shadow on Rust community but we have better alternatives.

Re: Rocket v0.5: Stable, Async

#7
I was developing a fairly large web app with Rocket 0.4 (released 2018!) and it started as a good experience, but then I was burned by the lack of support for multipart forms (i.e. file uploads), poor async, no option to listen on unix socket (required by my hosting provider's proxy) and long compilation times (not fully fault of Rocket, Rust compiler team has done a lot to speed up compilation since then). In the end, I found hacky solutions for all these issues, but I learned that perhaps Rust is not the right choice to make full-stack web apps and rewrote everything to Laravel (PHP) and Vue (JS).

Past me would have loved this update. Thank you in his name!

Re: Rocket v0.5: Stable, Async

#8
post #5

Hate to say that but I’d be happier if this never happened. I think many newcomers think that Rocket is “the web framework” in Rust. And if author goes silent again they will be let down. It casts kinda bad shadow on Rust community but we have better alternatives.

Can’t blame them for trying

Re: Rocket v0.5: Stable, Async

#9

What the advantage over axium(please correct me)

*axum I migrated a rocket project to axum 1~2 years ago, due to rocket being dead at the time. Both frameworks contain all you need to build an API really. But personally I found that: Rocket is easier for beginners, and once you know what you're doing, Axum is cleaner and better integrated in the ecosystem.

Re: Rocket v0.5: Stable, Async

#10
post #5

Hate to say that but I’d be happier if this never happened. I think many newcomers think that Rocket is “the web framework” in Rust. And if author goes silent again they will be let down. It casts kinda bad shadow on Rust community but we have better alternatives.

I'm not sure I understand this - I think having different options for web frameworks is great for Rust! Actually, it's probably more useful for Rust than other languages because Rust ends up being used by such a different range of developers and applications, and each framework ends up having such different opinions and providing different levels of abstractions.
Post reply on HN