Apple's Swift Programming Language Now Open Source

Discussion in 'MacRumors.com News Discussion' started by MacRumors, Dec 3, 2015.

  1. MacRumors macrumors bot

    MacRumors

    Joined:
    Apr 12, 2001
    #1
    [​IMG]


    As promised, Apple has officially made its Swift programming language open source, making the project available through Swift.org.

    [​IMG]
    Announced at WWDC 2014 and launched alongside iOS 8 and OS X Yosemite a few months later, Swift marks a significant step forward from the Objective-C previously favored by Apple.
    With the open sourcing of Swift, Apple has also released a Linux port to expand access to the language. Apple has also begun sharing design guidelines related to the upcoming Swift 3, setting the stage for "a more cohesive feel to Swift development."

    Update: Apple has published a press release announcing the news and Apple's Senior VP of Software Engineering, Craig Federighi, has done an interview with Ars Technica on Apple's decision to make Swift open source.

    Article Link: Apple's Swift Programming Language Now Open Source
     
  2. ElZeus macrumors regular

    Joined:
    May 26, 2008
  3. SamBellerose macrumors newbie

    Joined:
    Sep 3, 2015
  4. elmateo487 macrumors 6502a

    Joined:
    Jun 12, 2008
    #4
    While Swift surely has a long long way to go... Apple is moving fast, and I love it.

    Swift is a breath of fresh air to code in.
     
  5. nepalisherpa macrumors 68020

    nepalisherpa

    Joined:
    Aug 15, 2011
    Location:
    USA
  6. dannyyankou macrumors 604

    dannyyankou

    Joined:
    Mar 2, 2012
    Location:
    Scarsdale, NY
  7. atari1356 macrumors 68000

    atari1356

    Joined:
    Feb 27, 2004
    #7
    I've been programming almost exclusively in Swift for over a year now, and I write better, cleaner, safer code than with Objective-C. (especially with some of the additions they made with Swift 2.0) Love it.

    Will be interesting to see how Swift is adopted on other platforms.
     
  8. supremedesigner macrumors 6502a

    supremedesigner

    Joined:
    Dec 9, 2005
    Location:
    Gainesville, Fl
    #8
    Website isn't responding... did we all crashed their servers? ;)
     
  9. vmachiel macrumors 68000

    Joined:
    Feb 15, 2011
    Location:
    Holland
    #9
    So... now I can develop in swift on linux? In other IDEs? What does this mean?
     
  10. Markoth macrumors 6502

    Markoth

    Joined:
    Oct 1, 2015
    Location:
    Behind You
  11. marco114 macrumors 6502

    marco114

    Joined:
    Jul 17, 2001
    Location:
    USA
  12. Markoth macrumors 6502

    Markoth

    Joined:
    Oct 1, 2015
    Location:
    Behind You
    #12
    The website is definitely getting hammered. It worked for me eventually though!
    I very much doubt Apple is going to commit much resources to a full IDE for Linux, but you never know! At the very least, it'll be possible for the open source community to do so now, if they wish to.
     
  13. ISanych macrumors regular

    Joined:
    Aug 4, 2013
    Location:
    UK
    #13
    Was he involved in development or or just pushed to open sources? ;)
     
  14. Popeye206 macrumors 68040

    Popeye206

    Joined:
    Sep 6, 2007
    Location:
    NE PA USA
    #14
    It will be interesting to see where Swift goes now that it's open to the world.
     
  15. RogerWilco macrumors 6502a

    RogerWilco

    Joined:
    Jul 29, 2011
    #15
    It will be interesting to see how Microsoft responds to this initiative. The phrase "knife the baby" comes to mind.
     
  16. Markoth macrumors 6502

    Markoth

    Joined:
    Oct 1, 2015
    Location:
    Behind You
    #16
    Jesus died for our sins, and brought us the Swift programming language. Isn't that in the book somewhere?...

    EDIT: In other news, the source code is licensed under the Apache license. That's pretty permissive! Should encourage adoption.
     
  17. dumastudetto macrumors 68030

    Joined:
    Aug 28, 2013
    #17
    We all know Swift is the future of programming. So I'm sure a lot of people will be very happy with this news in the open source community.
     
  18. D.T. macrumors G3

    D.T.

    Joined:
    Sep 15, 2011
    Location:
    Vilano Beach, FL
    #18
    Yeah, I just recently started a new app, ground up using Swift. I'm following most of my existing design patterns from my older apps written in Obj-C, and the improvements (old vs. new apps) are pretty astounding. :cool:
     
  19. jeremysteele macrumors 6502

    Joined:
    Jul 13, 2011
    #19
    .Net framework was opened sourced a while ago, and C# has always been an open language.

    It's sort of similar to swift being open - they aren't opening up all of their proprietary stuff - but the core is available for everyone.
     
  20. wav macrumors member

    Joined:
    Sep 14, 2012
    #20
    I'm thinking about developing for iOS. I have almost zero experience with any kind of code, except for a little html in the late '90s. Is learning Swift all I would need to get started?
     
  21. leman macrumors G3

    Joined:
    Oct 14, 2008
  22. jeremysteele macrumors 6502

    Joined:
    Jul 13, 2011
    #22
    swift and HTML5 I'd say. Many apps (especially simple ones) are basic HTML5 apps, mostly because they are easier to port around to android & windows mobile.
     
  23. ArtOfWarfare macrumors G3

    ArtOfWarfare

    Joined:
    Nov 26, 2007
    #23
    As I see it, Swift is an inferior language in most ways to most other languages. It has one thing going for it, which Obj-C had going for it too: you can write in the language, or you can't use Apple's App Stores (which means you can't publish on iOS at all).

    Making it open source might fix a pain point - now it might end up being possible to write your code once in Swift and have it run everywhere - but only if people actually port it.

    IDK. I'm sticking with C# in Unity 3D for cross platform game development and Python for server side code.
     
  24. Kajje macrumors 6502a

    Kajje

    Joined:
    Dec 6, 2012
    Location:
    Asia
    #24
    People who think 'opening the source' is Apple's philantropic gesture for the better, are in for a ride. Apple doesn't do anything without a deeper reason. They don't care about anything but themselve - maybe except for the developer's community which makes the apps that help them selling devices.

    If Apple wants to get foot in the backoffice market - mainly to let developers build more powerfull server-side counterparts for their apps, they need to have a way to do it.

    Deploying a mac server is costly. Google App Engine could be a good choice, but it's Google. I'm sure Apple looked (and might still be looking) to offer alternatives within their eco system. But for now, opening source will facilitate any current (client side) Swift developer to build solutions and run it on basically any platform today.

    Having this technology available for Android (and 'Android' backoffice) is something they'll have to accept. There was no other way. Swift is deeply integrated from iOS probably until chip design. This is something that probably won't happen any time soon on Android. So that damage won't be so high anyway.
     
  25. Markoth macrumors 6502

    Markoth

    Joined:
    Oct 1, 2015
    Location:
    Behind You
    #25
    I'd recommend not digging your heels in on this issue, and reconsider. Swift results in far more stable code once you become familiar with the language and some of its new concepts (which admittedly does take some time!). You'll be thankful for taking the time do learn it in the long run!
     

Share This Page