From an ergonomics perspective, I write less code with Vapor than the equivalent Rust frameworks. It is slower today though but plenty for my needs, with some speed ups coming with Vapor refactors down the pipe.
I find that I need to spend less time managing shared resources with concurrency , and my code is clearer while being less verbose in general. Features like the trailing closure syntax are much easier to read for me.
I find it closer to how I’d write my Flask servers in the amount of code I need to do myself.
Vapor is the preferred framework and in general will seem familiar to anyone using any of the Rust server frameworks like actix web etc…
A tutorial for reference https://swift.org/getting-started/vapor-web-server/
From an ergonomics perspective, I write less code with Vapor than the equivalent Rust frameworks. It is slower today though but plenty for my needs, with some speed ups coming with Vapor refactors down the pipe.
I find that I need to spend less time managing shared resources with concurrency , and my code is clearer while being less verbose in general. Features like the trailing closure syntax are much easier to read for me.
I find it closer to how I’d write my Flask servers in the amount of code I need to do myself.