Franz Busch's Avatar

Franz Busch

@franzbusch.bsky.social

Swift on Server @Apple

644 Followers  |  131 Following  |  14 Posts  |  Joined: 17.11.2024  |  1.6405

Latest posts by franzbusch.bsky.social on Bluesky


import Foundation

let calendar = Calendar.current

let openSourceDay = calendar.date(from: DateComponents(year: 2015, month: 12, day: 3))!
let anniversary = calendar.date(byAdding: .year, value: 10, to: openSourceDay)!

if calendar.isDateInToday(anniversary) {
    print("10 Years of Swift open source! πŸŽ‰")
}

import Foundation let calendar = Calendar.current let openSourceDay = calendar.date(from: DateComponents(year: 2015, month: 12, day: 3))! let anniversary = calendar.date(byAdding: .year, value: 10, to: openSourceDay)! if calendar.isDateInToday(anniversary) { print("10 Years of Swift open source! πŸŽ‰") }

πŸŽ‰ 10 years of open source Swift! A decade ago today, we opened Swift to the world with a simple blog post: swift.org/blog/welcome

What's grown sinceβ€”thanks to an incredible community of contributorsβ€”has been extraordinary. Here's to the next ten years. 🧑

04.12.2025 00:08 β€” πŸ‘ 88    πŸ” 29    πŸ’¬ 1    πŸ“Œ 2
AWS re:Invent 2025 - Keynote with Peter DeSantis and Dave Brown
YouTube video by AWS Events AWS re:Invent 2025 - Keynote with Peter DeSantis and Dave Brown

🏎️ While Swift was originally created for iOS/macOS apps, many might not realize that at Apple we run Swift on the server to operate massive services, on Linux, serving billions of requests per day. Check out our VP's keynote at AWS re:Invent for details youtu.be/JeUpUK0nhC0?...

05.12.2025 08:26 β€” πŸ‘ 62    πŸ” 17    πŸ’¬ 3    πŸ“Œ 2
Preview
Use Swift with Temporal Announcing the Swift Temporal SDK. Build durable, fault-tolerant Workflows in Swift 6.2 with async/await and structured concurrency.

The Temporal Swift SDK lets you write reliable, long-running Workflows with Swift’s native async/await and structured concurrency.

Details + docs β†’ https://temporal.io/blog/temporal-now-supports-swift

12.11.2025 17:40 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0

Checkout the new blog post about the Temporal SDK we released at the @serversideswift.info conference. This is a great addition to our amazing Swift ecosystem πŸš€

10.11.2025 22:46 β€” πŸ‘ 11    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
Write durable and resilient workflows in Swift - Franz Busch
πŸŽ₯ Recorded at the ServerSide.swift conference in London in 2025. πŸ™Œ Sponsored by Broken Hands: https://www.brokenhands.io πŸ₯ Twitter: https://twitter.com/swiftserverconf 🐘 Mastodon:… Write durable and resilient workflows in Swift - Franz Busch

At the conference the Swift team announced a new SDK for Temporal! Watch the talk here

www.youtube.com/watch?v=2KW7...

04.11.2025 16:01 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Release 2.0.0 Β· swift-server/swift-aws-lambda-runtime The AWS Lambda Runtime for Swift v2 is now officially available. Overview Swift AWS Lambda Runtime v2 introduces a complete redesign of the API with async/await-first architecture, response streami...

πŸš€ Swift AWS Lambda Runtime v2 is out!
Build modern, scalable, and efficient Lambda functions in pure Swift!

Full async/await, response streaming, background tasks, and Swift 6 support.

Release notes & docs: github.com/swift-ser...

#SwiftLang #Serverless #serversideswift2025

06.10.2025 09:41 β€” πŸ‘ 18    πŸ” 6    πŸ’¬ 0    πŸ“Œ 0
Screenshot of the output of Swift Profile Recorder, running Hummingbird’s hello example visualized in Speedscope.

Screenshot of the output of Swift Profile Recorder, running Hummingbird’s hello example visualized in Speedscope.

New tooling for profiling performance-critical services with Swift -- introducing the Swift Profile Recorder. More here: www.swift.org/blog/swift-p...

06.10.2025 17:45 β€” πŸ‘ 60    πŸ” 17    πŸ’¬ 0    πŸ“Œ 3
Post image

This week the Swift team open sourced Swift Configuration to provide an standard API for configuring apps. Honza Dvorsky is here to walk us through it!

03.10.2025 15:20 β€” πŸ‘ 11    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - apple/swift-temporal-sdk: Swift SDK for Temporal Swift SDK for Temporal. Contribute to apple/swift-temporal-sdk development by creating an account on GitHub.

Just announced - the new Temporal Swift SDK! Try it out at https://github.com/apple/swift-temporal-sdk"

03.10.2025 16:30 β€” πŸ‘ 25    πŸ” 11    πŸ’¬ 1    πŸ“Œ 1

Another year another great conference. So many exciting talks and some great announcements as well!

03.10.2025 17:26 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Post image

The new Swift configuration API makes the most of Swift's type checking and expressivity to make it eady to solve common config tasks. @czechboy0.dev walks us through its features @serversideswift.info

forums.swift.org/t/introducin...

03.10.2025 15:28 β€” πŸ‘ 11    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1

Really excited about this announcement! Looking forward to what everyone is going to build with this

03.10.2025 13:35 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Another Swift package has just dropped at the server conference! The Swift Temporal SDK is here, introduced by Franz Busch

03.10.2025 13:15 β€” πŸ‘ 9    πŸ” 1    πŸ’¬ 0    πŸ“Œ 1
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

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

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

25.09.2025 18:46 β€” πŸ‘ 69    πŸ” 19    πŸ’¬ 0    πŸ“Œ 2

Swift Configuration is going to change how we do configuration across our ecosystem. Can’t wait to see how everyone is going to use it!

25.09.2025 18:42 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
The Growth of the Swift Server Ecosystem Nearly ten years ago, Swift was open sourced and an official runtime for Linux was released. I’ve been involved with Swift on the server since almost the very beginning, originally picking it up as a ...

Ahead of next week's ServerSide.swift conference in London, organizer and Swift server workgroup member @0xtim.bsky.social looks back at the growth of Swift as a platform for building server apps: www.swift.org/blog/swift-o...

24.09.2025 00:41 β€” πŸ‘ 51    πŸ” 19    πŸ’¬ 0    πŸ“Œ 2

If you are interested in dipping your toes into using Swift for services checkout the amazing workshops in next week's Server-side Swift conference.

24.09.2025 08:19 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Two weeks until @serversideswift.info at the Science Museum in London! Looking forward to joining in-person and connecting with the community. #swiftlang

17.09.2025 16:17 β€” πŸ‘ 6    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Preview
Tickets | ServerSide.swift Conference ServerSide.swift - the conference for server-side Swift developers

Who else is going to #ServerSideSwift? Two weeks to go, can't wait to hear what y'all have been up to!

To make the deal even sweeter, I hear there's tasty 15% off discount code for www.serversideswift.info/tickets/: COMMUNITY15

16.09.2025 16:22 β€” πŸ‘ 10    πŸ” 5    πŸ’¬ 0    πŸ“Œ 1
Post image

With ✨Swift 6.2 ✨, you can now target WebAssembly, including WASI support. Get started here: www.swift.org/documentatio... #Wasm

17.09.2025 19:36 β€” πŸ‘ 68    πŸ” 19    πŸ’¬ 0    πŸ“Œ 1

Incredibly hyped for this year's @serversideswift.info conference. I'm giving a talk about writing durable and reliable workflows in Swift. 🏎️

I'm also looking forward to the many other amazing talks on the schedule. Looking forward to see everyone!

16.09.2025 15:11 β€” πŸ‘ 5    πŸ” 2    πŸ’¬ 0    πŸ“Œ 1

Great announcements at #wwdc25 today. If you are around and got Swift questions, come around to the Swift labs.

09.06.2025 19:12 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Ahem... πŸ†•

04.06.2025 18:15 β€” πŸ‘ 165    πŸ” 32    πŸ’¬ 6    πŸ“Œ 10
Preview
Software Engineer, Apple Services Engineering - Jobs at Apple (UK) Apply for a Software Engineer, Apple Services Engineering job at Apple. Read about the role and find out if it’s right for you.

We have an open position in our team that works on Swift Server libraries @Apple such as github.com/apple/swift-.... If you are ready to bring Swift Server to the next level consider applying:
jobs.apple.com/en-gb/detail...

12.02.2025 14:28 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Yeah we should get that over the line. @lukasa.hachyderm.io.ap.brid.gy is working on all the strict concurrency adoption in NIO right now.

24.11.2024 14:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Yes a third one is setting a task cancellation handler. Throwing a CancellationError is really just one way of indicating that something got cancelled but returning early is also totally fine.

18.11.2024 10:43 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

If the task is cancelled before or while sleeping the method will throw a `CancellationError`. Now you can ignore the error with `try?` it still means your task supports cancellation.

I hope this cleared things up a bit.

18.11.2024 07:35 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Now the second documentation linked on `cancel()`:

"Calling this method on a task that doesn’t support cancellation has no effect"

Just because the `Failure` type is `Never` doesn't mean that the task doesn't support cancellation. For example `Task.sleep(for:)` checks for cancellation.

18.11.2024 07:34 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

The above will print `true` since the task is indeed cancelled. The doc that @czechboy0.dev linked does show a conditional conformance; however, `Never` conforms to `Error`. You can actually see that all `Failure`s value most conform to `Error` here:

developer.apple.com/documentatio...

18.11.2024 07:32 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@franzbusch is following 19 prominent accounts