2 ms·
Not really no. It's not a matter of convincing other people to do support, it's a matter of Apple making a long-term on-going large investment into other platfo
by jchw 4y ago
Not really no. It's not a matter of convincing other people to do support, it's a matter of Apple making a long-term on-going large investment into other platforms. They've definitely made some investments and are still making some more, but they're not enough if their goal is to promote Swift as a general programming language for any platform.
I can make some concrete examples: If Apple wants Swift to be successful in the open source world, it needs to at least get basic "passes test" level of support for the BSDs, and some other less common architectures. Look at the architectures supported by the "golang" package in Debian:
> amd64 arm64 armel armhf i386 mips64el mipsel ppc64el s390x
Now compare to the list of architectures supported by the Swift package in Debian: ... Oh. There's not one!
If this isn't getting the point across, I don't know what will.
(Side note: There are "official" Swift packages for Ubuntu, even if they're not upstreamed, but they only exist for amd64 and arm64. I know there is "community" support for riscv, which is pretty cool. Still... This is definitely a problem for Swift use in the open source community. Without Swift packages in Debian upstream, for example, I don't even think software based on Swift can be packaged for upstream inclusion.)