Vapor 3.0.0 released - Swift web framework

  • This is pretty exciting. Fully non-blocking based on SwiftNIO and using Codable throughout (for Parsing and serializing content from HTTP messages, creating database models, and rendering views according to the release notes) are the headline features for me. I had a quick look at the new documentation as well and it looks excellent.

    When Swift was first released as open source the potential for using it server-side felt really intriguing, it's great to see how far along the community has come in such a fairly short time!

  • I’ve built a handful of projects using vapor and it’s been a great experience so far. Their slack is a great place for getting help and just talking with the community. Can’t wait to use 3.0 now.

  • I'm sure this is great software and as quick as anyone needs, but their empty body plaintext benchmark leaves a bad taste. It's not just that with an empty body the results are even less relevant than typical "Hello World" benchmarks. It's the other frameworks that they picked:

    In their own benchmark, Vapor is about as quick Gin, written in Go.

    Looking at Techempower's latest web framework comparison [0], we see that Gin reaches only 27% the requests per second of the quickest tested framework, and 28% of the quickest framework written in Go.

    [0] http://www.techempower.com/benchmarks/#section=data-r15&hw=p...

  • Swift is a brilliant environment. Always good to see more adoption for it.

    http://swift.org

    I simplify it as an easier Rust that comes with an official REPL.

  • Do you need a Mac to use this? The getting started guide says you need Xcode.