2 ms·
As others already said, Swift is opensource and runs on Linux. With Swift 3, also the standard library (Foundation) should be available on Linux too. However,
by vetinari 10y ago
As others already said, Swift is opensource and runs on Linux. With Swift 3, also the standard library (Foundation) should be available on Linux too.
However, Swift for Linux is not yet "productized" in the same way, as Swift for Darwin is. You can download a tarball for Ubuntu only, unpack it somewhere and call it a day. It will take a while before you can use 'yum install swift' from EPEL on your shiny Centos/RHEL workstation.