Swift Language's Avatar

Swift Language

@swift.org.bsky.social

Swift is a general-purpose programming language that's fast, modern, safe, and a joy to write. Designed for all, developed in the open.

2,362 Followers  |  0 Following  |  23 Posts  |  Joined: 15.11.2024  |  1.0902

Latest posts by swift.org on Bluesky

Automatically Packaging a Haskell Library as a Swift Binary XCFramework Announcing <code>xcframework</code> or: the happy path for wiring a Haskell dependency to your Swift app

Packaging #Haskell code for easy Swift interoperability: easy thanks to these tips: alt-romes.github.io/posts/2025-0... @haskell.org

10.07.2025 23:24 β€” πŸ‘ 17    πŸ” 5    πŸ’¬ 0    πŸ“Œ 1
How To Put Swift in a Box: Container Images From Scratch With Swift Container Plugin - Euan Harris
YouTube video by The Linux Foundation How To Put Swift in a Box: Container Images From Scratch With Swift Container Plugin - Euan Harris

Putting Swift in a box πŸ“¦ Tools for containerizing Swift, from a presentation at #OSSummit @linuxfoundation.org www.youtube.com/watch?v=MV0w...

10.07.2025 17:39 β€” πŸ‘ 21    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
An illustrative screenshot of Swift on Android.

An illustrative screenshot of Swift on Android.

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

25.06.2025 23:13 β€” πŸ‘ 146    πŸ” 31    πŸ’¬ 5    πŸ“Œ 16
# 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

# 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

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...

10.06.2025 01:41 β€” πŸ‘ 98    πŸ” 13    πŸ’¬ 0    πŸ“Œ 4

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...

04.06.2025 22:45 β€” πŸ‘ 54    πŸ” 10    πŸ’¬ 0    πŸ“Œ 0
Post image

Ahem... πŸ†•

04.06.2025 18:15 β€” πŸ‘ 169    πŸ” 32    πŸ’¬ 6    πŸ“Œ 10
In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability.

In comparison with the previous Java service, the updated backend delivers a 40% increase in performance, along with improved scalability, security, and availability.

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...

03.06.2025 00:47 β€” πŸ‘ 94    πŸ” 26    πŸ’¬ 1    πŸ“Œ 6
Post image

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/...

21.05.2025 22:03 β€” πŸ‘ 45    πŸ” 5    πŸ’¬ 2    πŸ“Œ 0
Image from https://www.openpolicyagent.org, used under the Apache 2.0 license.

Image from https://www.openpolicyagent.org, used under the Apache 2.0 license.

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-...

16.05.2025 20:11 β€” πŸ‘ 26    πŸ” 6    πŸ’¬ 0    πŸ“Œ 1
Post image

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...

14.05.2025 18:32 β€” πŸ‘ 58    πŸ” 12    πŸ’¬ 0    πŸ“Œ 1
An illustrative image of a resort pool with a big screen for Swift code.

An illustrative image of a resort pool with a big screen for Swift code.

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

09.05.2025 17:42 β€” πŸ‘ 52    πŸ” 9    πŸ’¬ 1    πŸ“Œ 0

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...

21.04.2025 15:54 β€” πŸ‘ 20    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
Swift Server Meetup #4
Swift Server Side Meetup #04 – Going Cloud Native with Swift πŸ“… April 28th, 2025 πŸ•™ 10am Cupertino / 18h London / 19h Paris-Brussels 🌐 Online Event – no registration needed The fourth edition of the Swift Server Side Meetup is around the corner, and it's packed with practical insight into modern S Swift Server Meetup #4

πŸš€ Join us for Swift Server Side Meetup #04 – April 28th, 2025!

πŸ’‘ Infrastructure as Swift by Andrew Barba + Serverless Swift with Hummingbird & DynamoDB by Natan Rolnik

πŸ•™ 10am PT / 18h London / 19h Paris
πŸ”— www.youtube.com/watc...

#SwiftLang #SwiftOnServer

15.04.2025 07:25 β€” πŸ‘ 21    πŸ” 11    πŸ’¬ 0    πŸ“Œ 1
Preview
Day 2 KubeCon Europe Keynotes: Users Share Kubernetes War Stories Apple, HSBC and Spotify share how they have incorporated cloud native infrastructure into their own operations.

Swift in the cloud - from the #KubeCon keynote: thenewstack.io/day-2-kubeco...

05.04.2025 22:27 β€” πŸ‘ 17    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Building a Swift Button | Emory Dunn

Here's a new way to build a button in Swift -- a real push button! Fun project with embedded Swift: emorydunn.com/blog/2025/03...

02.04.2025 01:28 β€” πŸ‘ 32    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1
Post image

πŸ“° Announcing Swift 6.1 πŸ“° With ergonomic improvements to concurrency, simpler Objective-C interop, productivity and package improvements: swift.org/blog/swift-6... Install with Xcode 16.3 or the new swiftly version manager!

31.03.2025 21:20 β€” πŸ‘ 86    πŸ” 33    πŸ’¬ 0    πŸ“Œ 4
Preview
Introducing swiftly 1.0 Today we’re delighted to introduce the first stable release of swiftly, a Swift version manager that takes the pain out of installing, managing and updating your Swift toolchain.

How do you install Swift swiftly? With Swiftly, of course! Swiftly is the new default installer and version manager for downloading and updating the standalone Swift toolchain -- on macOS and Linux. ⏩🏁 www.swift.org/blog/introdu...

28.03.2025 20:52 β€” πŸ‘ 84    πŸ” 30    πŸ’¬ 2    πŸ“Œ 5

I tried this today, and now the app I work on professionally has 2,047 fewer lines of code. Feels good!

27.03.2025 21:54 β€” πŸ‘ 19    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

Spring is here (in the northern hemisphere) πŸͺΊπŸ£ -- and what could be a better time for some code tidying? Fortunately Periphery is here to rescue us, building unused code detection on top of swift-syntax. Have you tried it? github.com/peripheryapp...

26.03.2025 23:38 β€” πŸ‘ 46    πŸ” 12    πŸ’¬ 2    πŸ“Œ 1
let fileContents = try ZipArchiveReader.withFile("MyFile.zip") { reader in
    let directory = try reader.readDirectory()
    let fileHeader = directory.first { $0.filename == "File.txt"}
    return try reader.readFile(fileHeader)
}

let fileContents = try ZipArchiveReader.withFile("MyFile.zip") { reader in let directory = try reader.readDirectory() let fileHeader = directory.first { $0.filename == "File.txt"} return try reader.readFile(fileHeader) }

πŸ“¦πŸ“… Package of the week: swift-zip-archive πŸ“…πŸ“¦

Compress or uncompress πŸͺ— content in just a couple of lines of code with this package, now supported on Windows and Linux as well as Apple platforms, and Swift 6 support! πŸ‘ swiftpackageindex.com/adam-fowler/...

20.03.2025 20:51 β€” πŸ‘ 25    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

Students -- how would you like to spend the summer contributing to Swift while working with mentors from the Swift team? Lots of great projects to work on, from improving VSCode integration to compiler development. More at: forums.swift.org/t/gsoc-2025-... #GSOC

01.03.2025 00:37 β€” πŸ‘ 44    πŸ” 16    πŸ’¬ 0    πŸ“Œ 2
An example of using swift-mustache.

An example of using swift-mustache.

πŸ“¦πŸ“… Package of the week: swift-mustache πŸ“…πŸ“¦

swift-mustache is a powerful templating engine that enables you to generate content by applying a template to your data. Easy to use and effective anywhere you're generating text or source code. #Mustache swiftpackageindex.com/hummingbird-...

27.02.2025 22:40 β€” πŸ‘ 21    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

When the lights flash, it's a win! @ryantoken.com starts the week off with a great article on serverless Swift -- connecting his smart light bulbs to a backend running in AWS Lambda: www.ryantoken.com/blog/serverl...

24.02.2025 17:00 β€” πŸ‘ 40    πŸ” 10    πŸ’¬ 0    πŸ“Œ 2
A diagram that shows the various components of the Things backend built in Swift, including Vapor, SwiftNIO, AWS, Redis and Kubernetes.

A diagram that shows the various components of the Things backend built in Swift, including Vapor, SwiftNIO, AWS, Redis and Kubernetes.

Learn more about how the team behind Things, an award-winning personal task manager, rewrote their backend in Swift with a threefold reduction in compute costs: www.swift.org/blog/how-swi... @vapor.codes

21.02.2025 18:11 β€” πŸ‘ 87    πŸ” 26    πŸ’¬ 0    πŸ“Œ 6

πŸ‘‹ from the Swift team, now on Bluesky!

21.02.2025 17:46 β€” πŸ‘ 574    πŸ” 113    πŸ’¬ 34    πŸ“Œ 20