Apple has announced its latest foray into open source software, this time with SwiftNIO, a new framework for writing network applications using the Swift programming language. Both the framework and its open source nature were announced by Apple software engineer Norman Maurer at the try! Swift Conference.
The framework is now available on Apple's GitHub page. Here's what the company has to say about SwiftNIO:
SwiftNIO is fundamentally 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-utilisation connections, such as HTTP servers.
For those familiar with the Netty framework, Apple also describes SwiftNIO as "like Netty, but written for Swift."
The documentation for SwiftNIO notes that the framework is not geared towards building web applications, but rather for providing underlying network support for those applications. Currently, SwiftNIO supports macOS 10.12 or higher and Ubuntu 14.04 or higher.
We may earn a commission for purchases using our links. Learn more.
eero routers are starting to appear in the Home app, support coming soon?
We're seeing support pop up for eero in Apple's Home app, but it's not supported just yet. Will we see it soon?
Apple's latest patent shows an all-glass iMac
Apple patents tons of things and the latest suggests we could see an all-glass iMac eventually.
'Powder' is Apple's latest 'Shot on iPhone' video featuring iPhone 11 Pro
Apple's latest "Shot on iPhone" video comes from the British Columbia Interior and sees Winter X Games competitors doing what they do best.
Watch the Big Game in 4K for cheap!
Since 4K is slowly becoming the standard for televisions, there's never been a better time to buy inexpensive, gorgeous boob tubes. These are the best inexpensive TVs you can buy with 4K HDR support.