this post was submitted on 24 Aug 2023
40 points (100.0% liked)

Rust

6033 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

[email protected]

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 1 year ago
MODERATORS
top 5 comments
sorted by: hot top controversial new old
[–] nous 14 points 1 year ago (1 children)

However, Rocket's ambitions take their toll. While still being actively developed, the releases are not as frequent as they used to be.

That is a massive understatement. Rocket is on RC3 of v0.5, the RC1 was released in 2021. So that is basically one small RC release a year... And v0.4 requires nightly and is not async so is hardly a viable version these days. This project is far closer to not being actively developed then this article makes it seem. IMO unless something seriously changes with the project Rocket is not a web framework worth considering these days.

It was a head of its time when it first came out, but is way behind the curve in its current form.

[–] torcherist 2 points 1 year ago

Right. I've been following Rocket for a few years when it was most active but the maintainer has for past couple years been focused elsewhere (I take no issue with that, open source is largely volunteer work after all). v0.5 RCs support async and works well from my experience, ymmv. Axum is great. Actix-web is good too.

[–] [email protected] 5 points 1 year ago (1 children)

The last time I wrote a web service in Rust, I used Axum - in part because it seemed to be the Rust community's consensus that it was generally the best all-around option (and I didn't have time to prototype with a bunch of other frameworks).

Poem looks really interesting, though! I know the batteries-included approach doesn't appeal to everyone, but it's nice to be able to get so much off the shelf. Does anyone have experience with it yet they'd like to share?

[–] natecox 1 points 1 year ago

Poem is really really neat and I wish I could recommend it, but honestly I think the docs just aren’t good enough for a general recommendation. The demos in the repo are nice but are not a replacement for actual documentation and tutorials.

It will need a lot more community support to actually take off.

[–] [email protected] 4 points 1 year ago

To me as a beginner, Axum looks the easiest from just comparing these code samples.