4 ms·
I've been using 'actix-web' in anger for the last month or so and I just want to echo that it is an amazingly fast and fully-featured project. I smiled when re
by _wc0m 9y ago
I've been using 'actix-web' in anger for the last month or so and I just want to echo that it is an amazingly fast and fully-featured project.
I smiled when reading this post because I absolutely recognize the euphoria of carrying out a world-changing refactor and having it work first time. If this is what the future of backend development feels like, sign me up!
- dorfsmay 9y agoHave you look at rocket etc... Curious about your decision process.
- adwhit 9y agoI like rocket a lot - practically as easy as writing flask but with glorious type-safety thrown in - but I really wanted async ('like, now') because my project will have a large number of persistent connections. I'm sure rocket will get async eventually but it looks to be some way off. In comparison to rocket, actix-web does not use codegen tricks so is not as ergonomic or as safe - e.g. it cannot statically check that the path variables that you ask for actually exist on the route - but these are things that a simple test suite easily picks up (incidentally actix-web has a nice built-in test server). Also I was a little concerned that rocket development has stalled somewhat. 26 PRs waiting at time of writing. As I recall the maintainer is teaching a Rust class as Stanford so he's most likely just very busy.
- fafhrd91 9y agoi just added extractors system. it is not released yet, i am planing to release it later this week https://actix.github.io/actix-web/actix_web/struct.Route.html#method.with https://actix.github.io/actix-web/actix_web/struct.Route.htm...
- aschampion 9y agoFor async, also worth considering Gotham: https://gotham.rs/ https://gotham.rs/ I only have minimal experience with it, since I've also eventually chosen actix-web for all my projects so far due to its simplicity.