Skip to content

Commit 5ebf0bb

Browse files
committed
Final draft of Wasm and Android blog post.
1 parent 7ee119f commit 5ebf0bb

File tree

4 files changed

+8
-12
lines changed

4 files changed

+8
-12
lines changed
25.7 KB
Loading
25.5 KB
Loading
Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
We’re delighted to announce that we have added support for two new Swift platforms, Android and [Wasm](https://webassembly.org/), to our compatibility testing matrix.
1+
We’re delighted to announce support for compatibility testing of packages on two new Swift platforms, Android and [Wasm](https://webassembly.org/). This brings the number of platforms we test every package with to 8!
22

33
<picture class="shadow">
44
<source srcset="/images/blog/wasm-and-android-compatibility-matrix~dark.png" media="(prefers-color-scheme: dark)">
55
<img src="/images/blog/wasm-and-android-compatibility-matrix~light.png" alt="The Swift Package Index compatibility matrix showing columns for the Android and Wasm platforms.">
66
</picture>
77

8-
Swift support for Wasm has been in development for [a long time](https://desiatov.com/swift-webassembly-2020/). Remarkably, [as of Swift 6.1](https://blog.swiftwasm.org/posts/6-1-released/) it requires no custom patches:
8+
Swift support for Wasm has been in development for [a long time](https://desiatov.com/swift-webassembly-2020/), and [as of Swift 6.1](https://blog.swiftwasm.org/posts/6-1-released/), it now requires no custom patches:
99

10-
> This is the first stable release we've built directly from the official swiftlang/swift source without any custom patches. This means all components (compiler, stdlib, Foundation, XCTest, swift-testing, etc.) have been fully upstreamed.
10+
> This is the first stable release weve built directly from the official swiftlang/swift source without any custom patches. This means all components (compiler, stdlib, Foundation, XCTest, swift-testing, etc.) have been fully upstreamed.
1111

12-
There has also been plenty of community effort put into supporting Swift for Android. This includes the recent announcement of a [community working group](https://forums.swift.org/t/swift-on-android-working-group/77780) focused on the problem and the fact that [swift-everywhere.org](http://swift-everywhere.org) has been [tracking Android compatibility](https://skip.tools/blog/android-native-swift-packages/) for several months.
12+
Swift on Android is also receiving plenty of community effort, including a recent announcement of a [community working group](https://forums.swift.org/t/swift-on-android-working-group/77780). The [swift-everywhere.org](http://swift-everywhere.org) site has also been [tracking Android compatibility](https://skip.tools/blog/android-native-swift-packages/) for several months.
1313

14-
The community has put a remarkable amount of effort into getting these platforms to this stage, and it seemed like a great time to add them to our compatibility testing system. So we did!
15-
16-
As of today, all builds for both new platforms have finished and you can see compatibility on every package page.
14+
Plenty of work went into making Swift work on these platforms, and it seemed like a great time to add them to our compatibility testing. So we did! For the past week, the Swift Package Index build system has processed 35,000 builds to test compatibility. As of today, all builds are complete, and you can see Wasm and Android compatibility on every package page.
1715

1816
### Results
1917

20-
After churning through X,XXX compatibility builds across both platforms for the past X days, we have some numbers to share! Of the ~9,000 currently indexed packages, **XX% build for Android** and **XX% build for Wasm**.
21-
22-
TODO: Add commentary on the results.
18+
Of ~9,000 indexed packages, **18.3% build for Wasm** and **27.2% build for Android**. We find that remarkable, given that reliance on Apple-specific frameworks automatically makes many packages incompatible.
2319

24-
Is Windows compatibility testing next? We think so!
20+
It’s safe to say that Swift is expanding beyond its Apple-focused roots. Windows and Linux have been officially supported for years, and Wasm and Android are starting to make their way down that path. It’s great to see.

Resources/Blog/posts.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,5 +201,5 @@
201201
- slug: adding-wasm-and-android-compatibility-testing
202202
title: Adding Wasm and Android compatibility testing
203203
summary: You can now check the compatibility of every package in the Swift Package Index with Wasm and Android.
204-
published_at: 2025-05-30
204+
published_at: 2025-06-02
205205
published: true

0 commit comments

Comments
 (0)