Skip to main content

Apple announces Swift 2: faster, new language features, open source

Apple has announced a major new version of Swift, making it faster and adding new developer features.

Swift will also be open-source for iOS, OS X and Linux.

Apple will explain more about the future of Swift, Apple’s programming language, during sessions later in the week at WWDC.

FTC: We use income earning auto affiliate links. More.

You’re reading 9to5Mac — experts who break news about Apple and its surrounding ecosystem, day after day. Be sure to check out our homepage for all the latest news, and follow 9to5Mac on Twitter, Facebook, and LinkedIn to stay in the loop. Don’t know where to start? Check out our exclusive stories, reviews, how-tos, and subscribe to our YouTube channel

Comments

  1. Jim Phong - 9 years ago

    Open source? WHY ? What a huge mistake!
    With Steve Jobs this wouldn’t have happened for sure.
    Swift should be exclusive to Apple. Why going open source ?

    • rnc - 9 years ago

      Because more programmers, DUH!

    • mika6l6 (@mika6l6) - 9 years ago

      SO MORE people reap the benefit’s of the platform to create. I think it’s a great idea.

    • Mike Aurin - 9 years ago

      What a sheep-ish and entitled response. Be more close minded…

    • Tom Pittman - 9 years ago

      Actually, this is great news for everyone who does development in the real world.

      Soon IDEs from Jetbrains and others will support Swift for multiple platforms such as Windows, Android and Linux. I wouldn’t be too surprised if Swift became a first class language for VisualStudio.

      Finally Oracle’s terrible stewardship of Java will be challenged in a way that they will have to innovate, or watch Java die.

      Another language (in addition to Java) that will feel the pressure of open source Swift is Python.

      For decades Python has been a “learner’s language” which has stuck around in many areas because people already knew it. Well, Swift is every bit as well designed as Python, but has the added advantage of Playgrounds which coders gives immediate, actionable feedback which is vital to keeping learners engaged. Also, because Swift is a C-family language, what people learn from Swift is more portable to languages broadly used in the real world, including C#, Java, Javascript. Once Swift is available on PCs and Chromebooks, Swift will make way more sense than Python to be the first language people learn.

      Eventually, Swift could conceivably be used as TypeScript or CoffeeScript are, to shield logical minds from the stupid parts of Javascript.

      Time will tell, but I don’t see open source Swift hurting Apple at all, and certainly don’t think Steve Jobs would have objected.

      • Marcus Schumann - 9 years ago

        But Swift is still only for Apple ecosystem, even if you can develop on other platforms, right? Meaning, you can only create iOS, watchOS and OS X apps with it. With Python you can create for all different kinds of platforms, including Windows. So I’m not sure about this. If Swift would be able to create Windows apps too, then it would definitely become a huge language in the programming world.

    • Anton (@g1ddriver) - 9 years ago

      Obj-C doh

  2. Chris Sanders - 9 years ago

    I here for it.

Author

Avatar for Benjamin Mayo Benjamin Mayo

Benjamin develops iOS apps professionally and covers Apple news and rumors for 9to5Mac. Listen to Benjamin, every week, on the Happy Hour podcast. Check out his personal blog. Message Benjamin over email or Twitter.