Apple’s development goals didn’t affect the Swift Server efforts, neither did Xcode. Xcode is a good Swift IDE — but it’s certainly not the only one, and yet to be the inevitably best one. Swift can be used stand-alone, or with other editors and IDEs, like many of us do every day.
We have a completely open-source standard library, extensions to it, and an open-source implementation of Foundation
. No Apple-specific libraries are required. Even if some types are still prefixed with NS
or CG
, we certainly don’t need AppKit
or CoreGraphics
to use them.
I also doubt why you say that “will never be brought to other platforms”. Are you just ignoring the efforts of System
and DocC
and many other open-sourced libraries from Apple? Linux users are already benefiting from these efforts, and Windows will certainly follow up once some critical problems are solved.
Swift on Linux and Windows is already in production. Win32 developers will find Swift developing experience just at home and much safer, thanks to the type system and naming convention. Businesses are already using Swift on Linux servers. Apple itself is using it too. Swift.org is also built on server-side Swift.
Swift has first-class support for third-party IDEs since the beginning. With sourcekit-lsp
, modern editors can be easily transformed into a powerful Swift IDE. We’ve also got CLion, and the experience is nearly perfect. Swift has its IDE support built-in the compiler, and you can even tailor the experience by patching the compiler and building your custom toolchain.
CMake has already supported Swift since its 3.15 release. Swift 5.3 demos for Windows are exactly built upon CMake since SwiftPM was not ready at that time. I just don’t know why you say that. Apple cannot do everything, neither does it have to do. That’s against the spirit of open-source. We should be glad to see such an active community.
This is completely a pseudo conclusion. Platforms officially supported by Swift have the same, first-class support. Linux support is increasingly popular among the community and there are more and more cross-platform packages in Swift.
Given that Apple is also using many of the SSWG projects, and it has a dedicated team for Swift on Server, how can one just conclude Apple’s lack of support from “lack of a server oriented OS and hardware”? The only thing you have to do is to jump out of the trivial “Apple ecosystem” and to embrace the far wider world of server-side Swift.