Swift has already been ported to Linux, and Apple has said it will not object to other OS ports. In fact, this Linux port is what enabled IBM to create this sandbox. The IBM Swift Sandbox uses a Docker container for the runtime environment, which allows Swift to live in the cloud just fine.
This means developers can run Swift code snippets on any browser over the Internet, not just a specific IDE. This is the kind of accessibility that encourages learners such as students to dabble in a language before making a commitment to deep-dive into a programming environment.
(Image: Valerie Loiseleux/iStockphoto)
The sandbox allows for input of Swift code (which is object-oriented and looks a lot like C structurally, but is not as complicated as Objective-C) in one window. Hitting the Run button in the sandbox sends the output to another pane.
IBM says it is committed to Swift in a big way. As IBM engineer Patrick Bohrer put it in weekend blog post, "It is an exciting time to be in our industry and especially be anywhere near Swift. … The Swift development community is the same community that is helping build the applications that are, literally, changing the way we live our lives. We think there are endless possibilities here. We hope you think the sandbox is as fun as we do and that it also empowers and inspires our collective creativity."
Microsoft has joined the party as well. In February, it brought out Silver, a way to use Swift with Microsoft frameworks. The company said at the time, "With Silver, you can use Swift to write code directly against the .NET, Java, Android and Cocoa APIs. And you can also share a lot of non-UI code between platforms. Silver supports three platforms, but is decidedly not cross-platform, focusing on letting you leverage the Swift language natively for each individual platform, rather than encouraging mediocre cross-platform apps. With Silver, you can share your language and tool expertise, and you can share a lot of back-end business logic code -- but you will use it to write apps targeted at each platform individually."
Swift seems poised for rapid adoption by developers with the flurry of recent events. By making it open source and supported by different platforms, the "write once, run everywhere" goal developers have sought for so long seems closer than ever.
**New deadline of Dec. 18, 2015** Be a part of the prestigious InformationWeek Elite 100! Time is running out to submit your company's application by Dec. 18, 2015. Go to our 2016 registration page: InformationWeek's Elite 100 list for 2016.
Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek. He has written a book on the Secure Electronic Transaction Internet ... View Full Bio
How Enterprises Are Attacking the IT Security EnterpriseTo learn more about what organizations are doing to tackle attacks and threats we surveyed a group of 300 IT and infosec professionals to find out what their biggest IT security challenges are and what they're doing to defend against today's threats. Download the report to see what they're saying.
Digital Transformation Myths & TruthsTransformation is on every IT organization's to-do list, but effectively transforming IT means a major shift in technology as well as business models and culture. In this IT Trend Report, we examine some of the misconceptions of digital transformation and look at steps you can take to succeed technically and culturally.