Swift Language
@swift.org
2.5K followers 0 following 36 posts
Swift is a general-purpose programming language that's fast, modern, safe, and a joy to write. Designed for all, developed in the open.
Posts Media Videos Starter Packs
swift.org
New tooling for profiling performance-critical services with Swift -- introducing the Swift Profile Recorder. More here: www.swift.org/blog/swift-p...
Screenshot of the output of Swift Profile Recorder, running Hummingbird’s hello example visualized in Speedscope.
swift.org
Swift isn't just for client apps: when Elytra moved from Node to Swift for their server code, they benefited from better performance and a unified codebase. More here: elytra.app/blog/2025/10...
Screenshot of Elytra's RSS reader app.
swift.org
Introducing Swift Configuration, a new way to share and manage configuration for Swift. It's a smarter way to keep secrets safe and separate develop/test/prod environments. More here: forums.swift.org/t/introducin...
let config = ConfigReader(providers: [
    EnvironmentVariablesProvider(),
    try await JSONProvider(filePath: "/etc/config.json")
])
let httpTimeout = config.int(forKey: "http.timeout", default: 60)
print(httpTimeout) // prints 15
swift.org
🧪Exit testing is new in Swift 6.2! Now it's easy to check whether code exits cleanly, and ensure it prints the expected output to the console. Here's a sssssuper sssssimple sssssample! 🐍 More at developer.apple.com/documentatio...
    let result = await #expect(
        processExitsWith: .success,
        observing: [\.standardOutputContent]
    ) {
        snakify("This is precious...")
    }
    if let result {
        let expected = Array("Thisssss isssss preciousssss...".utf8)
        #expect(result.standardOutputContent.contains(expected))
    }
swift.org
With ✨Swift 6.2 ✨, you can now target WebAssembly, including WASI support. Get started here: www.swift.org/documentatio... #Wasm
swift.org
Swift 6.2 is here, including so much 🆕🥳:
⏩Approachable concurrency
🦺Opt-in strict memory safety
📦WebAssembly support
🏃Faster build perf for macros
🐞Enhanced async debugging
📚Inline stack-based arrays
🚇Subprocess support
🧪Test result attachments
www.swift.org/blog/swift-6...
Swift 6.2 Released
We’re excited to announce Swift 6.2, a release aimed at making every Swift developer more productive, regardless of where or how you write code. From improved tooling and libraries to enhancements in ...
www.swift.org
swift.org
Did you know that you can build a Swift package that supports multiple versions of Swift with different manifests? More on this and other advanced features of SwiftPM at our docs: docs.swift.org/swiftpm/docu...
Documentation
docs.swift.org
swift.org
Lots of cool new features coming to Swift 6.2 -- including a new opt-in strict memory safety checking mode that identifies and prevents any use of unsafe features. Read more about it here: github.com/swiftlang/sw...
swift.org
Writing Swift for tiny devices: an article on Playdate game Four Corners, recently rewritten in Swift for faster performance news.play.date/news/four-co...
TL;DR "Any game that is particularly demanding that you would typically want to write in C could probably be achieved with Swift."
Four Corners: the first game in Catalog written in Swift - Playdate News
Official news about Playdate, the yellow handheld video game system with a crank.
news.play.date
swift.org
Need a fast key/value datastore? The portfolio of Swift packages for building high-performance internet-scale services grew further this week with the preview of Valkey support: valkey.io/blog/valkey-...
Valkey · Introducing valkey-swift, the Swift client for Valkey
The new Swift client for Valkey is now in preview. Learn about its features and how it brings the performance of Valkey to the Swift language.
valkey.io
swift.org
Announcing the Swift on Android Working Group, with the goal of establishing and maintaining Android as an officially supported platform for Swift. More here: forums.swift.org/t/announcing... #Android
An illustrative screenshot of Swift on Android.
swift.org
Now you can use your Mac for developing Linux-based server components with Swift, using the new Swift-based container tools. Learn more and download at: github.com/apple/contai...
# Make sure the container service is started
container system start

# Pull a local copy of the Swift container image
container images pull swift

# List all the container images installed locally
container images list

# Run the Swift container
container run -it --name swift-container swift
swift.org
More on the new blog redesign here: www.swift.org/blog/redesig... This is just the start: we'll continue to roll out new getting started content and more...
swift.org
Ahem... 🆕
swift.org
The story behind the Apple Password Monitoring service, handling multiple billions of requests per day from devices all over the world, which was recently rewritten in Swift: www.swift.org/blog/swift-a...
In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability.
swift.org
When Things rebuilt their server backend with Swift, they saw improved code reuse, rock-solid stability, and a fourfold speed boost when processing sync requests @things.app #ServersideSwift culturedcode.com/things/blog/...
swift.org
Introducing Swift OPA, which allows you to keep service policies decoupled from service code, giving your security and compliance teams the flexibility they need to manage services built in Swift. @openpolicyagent.bsky.social blog.openpolicyagent.org/introducing-...
Image from https://www.openpolicyagent.org, used under the Apache 2.0 license.
swift.org
As the Swift ecosystem grows, we're adding a steering group to help us all coordinate efforts around package and tool development. More here: forums.swift.org/t/announcing...
swift.org
We're excited by this year's summer of code projects! ⛱️🧑‍💻They focus on improving Swift tooling and language interoperability, from VSCode to Java interop. Check them out here: forums.swift.org/t/gsoc-2025-... #GSOC25
An illustrative image of a resort pool with a big screen for Swift code.
swift.org
Majid's blog is full of well-written articles on different aspects of Swift. Here's a quick look at one of the new features in Swift 6.1 for test scoping...