Slashdot Mirror


Apple Releases Swift As an Open-Source Project (swift.org)

jcr writes with the news that Apple's Swift has gone open source: From Apple's press release: "We are excited by this new chapter in the story of Swift. After Apple unveiled the Swift programming language, it quickly became one of the fastest growing languages in history. Swift makes it easy to write software that is incredibly fast and safe by design. Now that Swift is open source, you can help make the best general purpose programming language available everywhere." It's listed at Apple's GitHub repository, too. (Hat tip to Jono Bacon.)

2 of 195 comments (clear)

  1. Re:OK, I'll bite by serviscope_minor · · Score: 5, Informative

    and what is there to gain for an old school C programmer who doesn't particularly enjoy C++ ?

    SWIFT is more or less ObjectiveC made sane. It's basically the same underlying world view, but with a new language with a unified syntax (where as ObjC is like two unrelated languaged bolted together), reduced undefined behaviour, no pointer arithmetic (by default? not sure. Pounters aren't exposed in the same way).

    ObjC and so Swift are both very late bound languages, so have a very dynamic feel to them.

    --
    SJW n. One who posts facts.
  2. Re:Something missing here... by ArcadioAlivioSincero · · Score: 5, Informative

    RemObjects makes a free Swift compiler that targets .NET, and thus the binaries would run on Windows. It targets Android too, so you can do Swift on Android as well.

    Of course, none of the OSX/iOS frameworks are provided on non-Mac platforms. You're expected to to use the frameworks already provided by the platform you are targetting.