Just as Apple had promised earlier this year, the Swift programming language is now open source. The reason for making Swift open source is to speed up Swift’s adoption on servers and on other platforms such as Linux and Windows in ways that Apple’s own programmers would never have the time to do on their own.
If you’re learning programming, Swift is going to be one of the most important programming languages to master. When Swift successfully ports to Linux and Windows, you should be able to write Swift programs for all major platforms.
Of course, you can already use Swift to write programs for all of Apple’s platforms that are either dominating their markets or steadily gathering market share. With Swift you can write programs for the following Apple platforms:
- OS X to create Macintosh programs for the steadily growing Macintosh market (while the PC market steadily declines)
- iOS to create iPhone and iPad apps for the dominant mobile computing market defined by the iPhone and iPad
- watchOS to create Apple Watch apps for the wearable computing market that the Apple Watch is helping define
- tvOS to create Apple TV apps for a new TV market that Apple is shaping
Right now with Swift you can support four major Apple platforms. With Swift going open source, you’ll soon be able to write server programs in Swift, running on Linux. You may eventually be able to write Windows programs and even Android apps in Swift as well. When that happens, you’ll be able to port your iOS programs to Android.
The future clearly belongs to Swift. If you’re learning any programming language, your school may have forced you to learn C++ and Java since both languages run on all major platforms and form the basis for other popular programming languages such as Objective-C.
However, you must learn Swift. Windows developers may focus on C# but C# has never migrated beyond Windows so it’s a dead end. With Windows PCs steadily declining, C# can’t help but decline at the same time.
On the other hand, Swift has a far brighter future ahead of it. If your school doesn’t teach Swift, learn Swift on your own. Swift will be the most important programming language of tomorrow (and even today) so if you don’t learn Swift, you might as well stick with archaic programming languages like FORTH and LISP and then wonder why you don’t have as many opportunities available to you.
To learn more about open source Swift, click here.