What’s new in Swift is a news feed that focuses on the latest articles, trends, and stories happening around the Swift ecosystem that I find interesting. All of the topics selected in this article have been cherry picked from either Github, Swift.org, or found the Swift Forums over the last few weeks and can range from topics covered in iOS, macOS, tvOS, watchOS, or in the Server Side community. This latest issue focuses on Swift on Windows, Alamofire 5 Beta taking shape, changes to the stdlib and Swift Modules, range types conforming to codables, a new set of C APIs being introducing into Swift, and finally, a new Podcast for the Swift Community, the Swift Community Podcast.
Swift on Windows
One thing I have always found very interesting about the Swift project is the community support for various development platforms. One platform that I have found particularly interesting is support for Windows. At first, when I thought about Swift on Windows it made me pause coming from a macOS and iOS perspective. Swift on the Server though makes a lot of sense for Windows as Windows still does remain large server side development platform. In the last few weeks I have been seeing a lot of community support going into the Swift project for Windows. Just thought I would list of a few of them here as I always find this cool.
AlamoFire 5 Beta is Taking Shape
A lot of work is being done on the AlamoFire project to test out the new beta and to start pulling changes from 4.* branches. This is great news because this means that soon the 5.0 beta should be tested enough for a release candidate. I will keep my eye on this but in the meantime I would encourage you to head on over to the AlamoFire project and test out the Beta 5 release and report anything you see.
Swift stdlib available in Swiftmodule Directories on Apple Platforms
Interesting PR put in by Jordan Rose for Swift to reference the stdlib from the swiftmodule directory, if available, on an Apple platform. On this PR, Jordan referenced that the discussion is forthcoming, but I thought this was an interesting change that was worth noting on how the Swift stdlib may be in the future split up and available as modules.
SR-8649 Range Types Conform to Codable
Very cool PR that was just merged into Swift a few days ago to make sure Range types conform to codable. This is a PR that has been in the works since September and a lot of the Swift Core team and members of the community have contributed on the review of this PR. Very Cool!
Introduce C Parser Library
A few days ago a PR was put into the Swift project to introduce a shared library with a C API to be used by SwiftSyntax to speed-up source code parsing. This “code” mean a performance improvement to how Swift syntax trees are parsed in the future. The code committed in this PR, a mix of C and CPP is very cool, I highly suggest looking at it if you are interested.
Swift Community Podcast
A new podcast with a revolving set of hosts has been announced called the Swift Community Podcast. This podcast will take a look at what is happening in the Swift Community from all different angles. On the initial episode John Sundell, Garric Nahapetian and Chris Lattner introduce the concept of the show and why it was created. Eager to see where this will go.