34 minutes ago · Tech · hide · 0 comments

A few days ago, the first beta for Vapor 5 was announced. If you don’t know what Vapor is, it’s probably the most popular web framework for Swift. I’ve posted about it before. Vapor 5 is the first new major version in six and a half years and promises a lot of new features, particularly when it comes to concurrency and other performance enhancements. This is the list of highlights from their announcement blog post: No more EventLoop or EventLoopFuture! Vapor 5 is fully async/await with real structured concurrency support. We’ve even managed to almost completely remove NIO from the public APIs, with a couple of ByteBuffers to remove from Multipart and some NIO work around compression and TLS to figure out. A brand new HTTP server. Vapor 5 builds upon Swift HTTP Server, which is a new, modern HTTP server with support for bidirectional streaming, HTTP/3, and much more. Vapor can now concentrate on being a great web framework and hand off the HTTP handling to the new server. Streaming by…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.