3 ms·
How does Rocket compare with actix on other dimensions? (i.e., what made you decide to pick it for your project?)
by _bxg1 6y ago
How does Rocket compare with actix on other dimensions? (i.e., what made you decide to pick it for your project?)
- jph 6y agoBroadly, 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.
- _bxg1 6y agoThanks! 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
- freeopinion 6y agoI'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.
- deathtrader666 6y agoIt just did about 10 days ago - https://github.com/SergioBenitez/Rocket/issues/19#issuecomment-630650328 https://github.com/SergioBenitez/Rocket/issues/19#issuecomme...
- terhechte 6y agoI 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.
- Spiritus 6y agoRocket 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#issuecomment-630650328 https://github.com/SergioBenitez/Rocket/issues/19#issuecomme...