Swift 5.5 is now officially released! Swift 5.5 is a massive release that includes newly-introduced language capabilities for concurrency, including async/await, structured concurrency, and Actors.
A new version of Foundation launched today as an open source project, written in Swift. This project provides a single, cross-platform implementation and shows significant performance improvements.
Announcing the release of Swift 6! 🎉🎉🎉
🦺Extended memory safety protections
🪟Embedded and cross-platform support
🧪Swift Testing: parameterized, macro-based testing
Read more:
Swift 5.9 is now available! This is a major new release that introduces macros to Swift, adds bi-directional interoperability with C++, and more. Read the blog post to see what's new.
We just announced the Swift Mentorship Program, a new initiative that provides some personal guidance for people who want to start contributing to the language. Learn more here:
Swift 5.8 is now available! This release contains many enhancements including support for hasFeature(), an improved Result Builder implementation, updates to Swift-DocC and the Swift Package Manager, and more.
As part of our vision for Swift to be a widely-used language for a wide variety of use cases and platforms, today at
@SwiftServerConf
we open sourced some early work on Swift/Java interoperability: . Excited to partner with others to expand this.
@java
Swift is starting an exciting new chapter with its own, dedicated GitHub organization. This move will help Swift expand to more platforms and new use cases.
We're thrilled to announce a new project for Swift—Swift Numerics. Learn all about how it provides the building blocks for numerical computing in Swift!
Writing Swift with VSCode just got much better.
- Swift Testing ✅
- Code coverage ✅
- Refactoring improvements ✅
- Easy version switching ✅
- Code formatting ✅
All the details here:
@code
Swift 5.6 is now officially available! This new version adds the ability to run plugin commands with SwiftPM, brings enhancements to the type system, improves interaction with pointers, and more. Details at:
Swift 5.10 is now available for macOS, Linux, and Windows, and features a complete set of opt-in diagnostics to check your code for full data race safety.
Swift 5.7 is now available! This release contains many of the enhancements announced at WWDC22, including improved generics syntax, regular expression literals, enhanced data race safety, and more.
Introducing Diversity in Swift.
This initiative is focused on further elevating diverse voices, and making it easier for developers of all backgrounds and skill levels to join the Swift community. Read more about it here:
The new open source Swift Algorithms package was just released, and ready for the community to jump in!
To learn more about these new sequence and collection-focused algorithms, head to the blog:
As part of our commitment to investing in Swift across all platforms, we're delighted to announce the availability of the new all-Swift Foundation library as part of the Swift 6 nightly toolchain, supporting Linux and Windows. 🏗️🏗️🏗️
More here:
Swift System is now an open source project on .
"Our vision is for System to eventually act as the single home for low-level system interfaces for all supported Swift platforms."
Announcing Swift Homomorphic Encryption, a new package that supports private cloud computation using cutting-edge cryptographic techniques. 🕵️🤐
Read more:
With Swift 6, functions can declare specific error types they can throw. This enables you to write exhaustive catch clauses that ensure that every possible error is handled. More in the Swift programming language book, updated for Swift 6 beta:
Swift combines an easy-to-use syntax with the speed of a compiled language, making it ideal for machine learning.
Just announced: the advanced MLX research framework expands support for Swift:
Since announcing the new Swift organization at this month, we've been hard at work! 🚧 Over 20 repositories migrated so far, including the core Swift repo, website, SwiftPM, VSCode extension, LSP support, and Docker images. More on the way; join us there!
📦📅Package of the week: elementary📅📦
elementary is a Swift HTML rendering library that supports concurrency, plays well with Vapor and Hummingbird and has a natural syntax for expressing HTML constructs. More here:
#webdev
#Swift
C and C++ interoperability is one of Swift's superpowers, enabling access to a wide variety of existing APIs, including the Windows SDK.
@compnerd
has an excellent piece detailing the process.
Announcing the new Language Workgroup, focused on evolving the Swift language and standard library. This new workgroup allows the Core Team to invest more in the overall direction of the growing Swift ecosystem.
How small does Swift go? Tiny enough to run on a breadboard? From
#WWDC24
, this session by
@kubamracek
shows how you can build a simple HomeKit accessory that runs on a RISC-V device. And for extra credit, the demo shows off Neovim support for Swift! ✨
From 152,000 lines to 29,000:
@RonAvitzur
spent the last 18 months porting the famous Pacific Tech Graphing Calculator from C++ to Swift and wrote about the journey:
Announcing a new Swift open source package: Swift Service Discovery. Defines a standard API for back-end providers to implement. Read more about it here:
Swift is designed to be a joy to write, as shown by the rotating code snippets on our home page.
Let's add some new ones! What's your favorite 5-10 line snippet that demonstrates the joy of Swift? 🥳
Learning Swift on the go? Want an app that can help you brush up on language foundations?
@twostraws
has you covered with Unwrap. With lessons and quizzes, it's a great tool for developers who are transitioning to Swift:
Today we’re making available the source code for certain key components of Private Cloud Compute, written in
#Swift
, to allow developers and researchers to independently verify its security characteristics and functionality:
📦📅 Package of the week: node-swift 🧑💻
node-swift lets you write native Node modules in Swift that can be used with node.js, NPM and Electron. It's idiomatic, fast, and works on macOS, Linux and Windows. More here:
@kabiroberai
@nodejs
#Electron
The new Swift 6 language mode provides compile-time data race safety, eliminating an entire category of bugs by diagnosing them at compile time. And good news: you can migrate to Swift 6 incrementally!
For more details, check out our migration guide:
Modern, expressive testing is one of the highlights in Swift 6! 🧑🔬
As its release gets closer, we're merging Swift Testing into the toolchain so it's available to packages and apps without having to add new dependencies. More here:
📦📷 Package of the week: hummingbird 📷🧑💻
Hummingbird is a lightweight, flexible HTTP server framework that provides routing, authentication, encryption, logging, and AWS Lambda support. It's never been easier to build a server app with Swift! 🪺More at
If you're trying out the new Swift predictive code completion in Xcode 16, we'd love to hear from you about your experiences!
Use the Feedback Assistant tool to file suggestions or bugs: we read every one and use it to help build a better product for you.
Coming soon: Swift macro expansion in VSCode! 🎉Fantastic to see the results of this
#GSoC
project, now available in mainline builds. Great writeup from the author,
@lokesh_t_r
: 🧑🏫
@code