The port of Swift to Windows barely functions and in every dimension is in worse shape.
It's a shame b/c the language is truly beautifully designed.
The port of Swift to Windows barely functions and in every dimension is in worse shape.
It's a shame b/c the language is truly beautifully designed.
It does though. As least for me. Better support on Windows and Linux would increase the number swift developers which would the in turn result in more and better open source libraries.
For Apple this could mean that their own open source libraries could get better, they have more tools/libraries to choose from, or simply that they have a greater pool of talent for hiring.
Looking at Go (and Rust) I think this is somewhat shown. There are a lot of different factors, but I think the development tools of Go is the #1 reason why it is basically the only "new" language in a long time that gained a large enough popularity to become mainstream - as in you actually find jobs developing in Go. Which is in some ways sad. It seems like Swift could be the very good fit for backend/serverless development.
I guess the real question is how much effort would it take to get the development tools like editor support to the next level?
I have programmed for the last 4 years or so almost exclusively in Swift, but I am now switching to TypeScript in general. Writing my libraries in TypeScript, I will still be able to access them from Swift and other languages via embedded browser engines.
Because it's useless save for a single kind of development (websites) and the main issue is not even in spitting out WASM but making the language runtime and libraries work in the browser. Most languages have no first-party WASM or Typescript support either.
You are right, Apple has no interest in supporting Javascript, what good would it do them except more work and hassle?
It would help many programmers though, to make their code more portable and available on more platforms. It would not be that easy to do, but also not that difficult. Rust is supporting WASM, Scala is supporting Javascript. Kotlin as well. Apple can't do it? Come on.
Just stating the obvious: The interests of Apple and programmers are aligned in some aspects, and opposed in others.