Swift Icon

Swift

Swift is a modern programming language focused on safety, performance, and expressivity.
5 Stories
All Topics

InfoQ Icon InfoQ

Smoke – Amazon's new, lightweight server-side framework for Swift

When Apple open sourced Swift, it was only a matter of time before the server-side frameworks started rolling out. Perhaps that time is now? Amazon’s entry is called Smoke, and InfoQ has the deets: Amazon Smoke framework is a new open-source light-weight server-side framework written in Swift and aimed to build REST-like or RPC-like services. Its architecture stresses ease of use and favours a pure-functional programming style for request handlers. Click through for some code snippets and to learn exactly how Smoke is built (hint: they’re using SwiftNIO)

read more...

Swift github.com

SwiftNIO – it's like Netty, but written for Swift

Straight outta Cupertino: a low-level tool for building high-performance networking applications in Swift. It particularly targets those use-cases where using a “thread-per-connection” model of concurrency is inefficient or untenable. This is a common limitation when building servers that use a large number of relatively low-utilization connections, such as HTTP servers. Could this be a first step toward Swift-powered servers running all around the globe? Maybe Apple will finally be able to ditch WebObjects… 😉

read more...
0:00 / 0:00