-
Notifications
You must be signed in to change notification settings - Fork 253
Add The Growth of the Swift Server Ecosystem blog post #1171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
1f831c9
dfc3ae3
318f87e
dbcf352
fdbb343
e118350
ec93a9f
80c565e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,57 @@ | ||||||
| --- | ||||||
| layout: new-layouts/post | ||||||
| published: true | ||||||
| date: 2025-09-22 10:00:00 | ||||||
| title: "10 Year of Swift on the Server" | ||||||
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| author: [0xTim] | ||||||
| category: "Community" | ||||||
| --- | ||||||
|
|
||||||
| It's been nearly ten years since Swift was open sourced and an official runtime for Linux was released. In that time Swift has come a long way, with stability across platforms, a burgeoning ecosystem and many success stories. Having been involved in the server ecosystem from almost the very beginning, I've seen the ecosystem grow and mature and continue to go from strength to strength. In this post, I'll cover how Swift: | ||||||
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| * is seeing a growing number of success stories in production | ||||||
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| * has evolved to be a powerful language for server development | ||||||
| * has a thriving ecosystem of frameworks and libraries | ||||||
| * has a growing and passionate community - including a dedicated conference coming up in October! | ||||||
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
|
|
||||||
| ## Running in Production | ||||||
|
|
||||||
| There have been some really awesome success stories emerge over the last few years, reinforcing the strength of Swift on the server. The award-winning Things app [explained how they migrated their backend](/blog/how-swifts-server-support-powers-things-cloud/) from Python to Swift, seeing a 4x increase in performance, whilst running 3x cheaper! | ||||||
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||
| There have been some really awesome success stories emerge over the last few years, reinforcing the strength of Swift on the server. The award-winning Things app [explained how they migrated their backend](/blog/how-swifts-server-support-powers-things-cloud/) from Python to Swift, seeing a 4x increase in performance, whilst running 3x cheaper! | |
| Swift's impact on production deployments has been gaining momentum, and among other success stories, this year the award-winning Things app [explained how they migrated their backend](/blog/how-swifts-server-support-powers-things-cloud/) from Python to Swift, seeing a _4x increase request handling performance_, while operating at a _3x lower cost_! |
"increase in performance" is a bit handwavy, we should use more precise wording, I suggested something, is that the right way to summarize that use case?
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Swift has grown a lot since Swift 3! The languages has seen a huge number of changes heavily adopted, and in some cases driven, by the server world. Native UTF-8 strings, `Codable`, keypaths and property wrappers all saw quick adoption by server packages. Swift Concurrency was a game changer, making it significantly easier for developers to write asynchronous code, which is especially helpful in an environment where almost everything in asynchronous! Task local values make it simple to introduce distributed tracing to applications without the need to pass contexts around everywhere. More recently, features such as package traits and macros have already started to be adopted by server libraries, to provide more performant and more efficient code to end users. | |
| Swift has grown a lot since Swift 3! The languages has seen a huge number of changes heavily adopted, and in some cases driven, by the server world. Native UTF-8 strings, `Codable`, keypaths and property wrappers all saw quick adoption by server packages. Swift Concurrency was a game changer, making it significantly easier for developers to write asynchronous code, which is especially helpful in an environment where almost everything in asynchronous! And thanks to the Swift Evolution process, we were able to co-design language features and libraries such as task-local values and distributed tracing in such a way that it all works together efficiently and seamlessly. More recently, features such as package traits and macros have already started to be adopted by server libraries, to provide more efficient code to end users. |
- I'd say this more strongly, we co-designed language and libraries here!
- performant seemed redundant
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Watch for "significantly" -- it's a weasel word that doesn't add anything. Consider removing.
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
0xTim marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- https://www.areweserveryet.org link is broken
- tbh I'd rather not link to that... It was fun for a while but I don't think it helps our message here; the package index is a far more useful resource to point people towards.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| The [areweserveryet.org](https://areweswiftyyet.org/) website has a great list of different packages available, and the [Swift Package Index](https://swiftpackageindex.com/) has been instrumental in propelling the package ecosystem on Linux, with build results for every single package submitted. | |
| The [Swift Package Index](https://swiftpackageindex.com/) has been instrumental in propelling the package ecosystem on Linux, with build results for every single package submitted, allowing the community to ascertain the level of support for other platforms by open source packages in real time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just in case it helps it's worth remembering that people can search for linux compatible packages by adding platform:linux to the end of any search query to filter by linux compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the link - kept it in as it's another example of ecosystem and just 'all the stuff' we have but happy to discuss further
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to paint a bolder picture here... and link drop a few more projects to give an "oh wow, i didnt know that" effect:
| We're seeing Swift pick up more acceptance in the server world and the recent [Valkey announcement for Swift](https://valkey.io/blog/valkey-swift/) is a testament to the efforts of the community in making Swift a first-class citizen on the server. | |
| More and more projects are noticing the value proposition of Swift. Anything from << LINK>> Safari moving to replace its C++ use with Swift, to the Godot game engine <<LINK>> adopting Swift for its ergonomics and performance, and more recently projects like [Valkey](https://valkey.io/blog/valkey-swift/) and others also including official Swift clients, is a testament to the efforts of the community in making Swift a first-class citizen on the server and beyond. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whilst I think those are super valuable, they're not really related to the server story, more ecosystem focused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"We" is unclear in the original draft; I'd suggest either changing it to "I" or removing it entirely to make it more of a statement: "Swift has seen more acceptance in the server world"
Uh oh!
There was an error while loading. Please reload this page.