|
|
|
|
|
by coldtea
3280 days ago
|
|
>For that to happen Swift needs to be usable at Java level in all OSes where JVM/JDKs (some of them with AOT support since the early days of Java) do exist. No, you seem to confuse "replace Java" with "TOTALLY AND ABSOLUTELY replace Java everywhere". Swift just needs to be usable on the platforms that matter -- and since it's by default on OS X, that leaves Windows and Linux. Nobody cares if it runs on some mainframe architecture that 0.001 of Java use happens, or some other obscure environment. |
|
Also as of 2017 Swift is still quite unusable on Linux beyond a few demo apps and on Windows nowhere to be seen.
Additionally GNU/Linux, BSD and Windows are better served by Rust, SML, OCaml, Haskell and F# than Swift.
In all aspects that matter, they have better compilers to chose from, IDE support, libraries and tooling.
The positive aspect of Swift is being a modern multi-paradigm language being pushed by a company like Apple, which will hopefully improve the adoption of such languages.
However outside Apple's own operating systems, Swift has a very long road to travel before it gets any kind of meaningful adoption, let alone being a threat to programming languages on GNU/Linux, BSD and Windows.