News for hackers. Stuff that matters.
Re:Framework Benchmarks Round 19 by jph on Thursday May 28, 2020 @07:49PM (#23344533)
Broadly, Rocket and Actix are both great in my opinion.

I use actix-web on another project. IMHO Actix is conceptually sophisticated in a good way, has great async capabilties, great speed, and runs on Rust stable which is necessary for that project. However, actix-web had a continuity problem when the leader stepped away - see HN if you want to know more about this.

So we decided to try Rocket for this new project. This project involves more junior developers, has no special speed needs, and is fine on Rust nightly for now. The Rocket guides are excellent, especially for onboarding. The concepts feel simpler, which is fine for this project. We're eager for Rocket to launch its async version and its Rust stable version.

Ultimately the bulk of the code is similar, because both projects are web apps that use Diesel, Serde, reqwest, and other typical crates. We're looking to the future to extract some of the code into framework-independent crates, such as our API structs, business logic, and the like.

Re:Framework Benchmarks Round 19 by freeopinion on Friday May 29, 2020 @12:37AM (#23346305)
I'm just gonna say here that Rocket is never going to run in stable.

I write this specifically because I'm never right and I hope that my writing this publicly will lead to Rocket's immediate release on Rust stable just to prove me wrong.

And here's a cheer for those doing the work to make it async.

Re:Framework Benchmarks Round 19 by deathtrader666 on Friday May 29, 2020 @01:59AM (#23346693)
Re:Framework Benchmarks Round 19 by terhechte on Friday May 29, 2020 @02:04AM (#23346714)
I actually think something was merged on Rust recently that allows Rocket to be on stable now. I don't have a link but I read it. I think 0.5 is supposed to be async, still on nightly, and after that they want to switch to stable.
Re:Framework Benchmarks Round 19 by Spiritus on Friday May 29, 2020 @02:35AM (#23346880)
Rocket will compile on stable when Rust 1.45 is released in July. Of course it requires a new release of Rocket as well (v0.5?).

https://github.com/SergioBenitez/Rocket/issues/19#issuecomme...

Re:Framework Benchmarks Round 19 by _bxg1 on Thursday May 28, 2020 @08:01PM (#23344647)
Thanks! I'm very curious about the Rust web space even though it seems to still be in a formative stage. It sounds like you guys are really on the cutting edge