IBM's Swift Sandbox Lets Coders Try Apple's Programming Language Easily - InformationWeek

InformationWeek is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

IoT
IoT
Software
Commentary
12/7/2015
03:15 PM
Larry Loeb
Larry Loeb
Commentary
50%
50%

IBM's Swift Sandbox Lets Coders Try Apple's Programming Language Easily

IBM announced its free, browser-based Swift Sandbox, which lets developers write in Apple's programming language and execute their code in a server environment -- on top of Linux.

Apple's Swift Programming Language: 10 Fascinating Facts
Apple's Swift Programming Language: 10 Fascinating Facts
(Click image for larger view and slideshow.)

Shortly after Apple open sourced its Swift programming language last Thursday, IBM launched a free browser-based online sandbox to help developers get started writing code.

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)

(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."

[See HTML 5 Vs. Native Apps: What's Best For Developers?]

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
We welcome your comments on this topic on our social media channels, or [contact us directly] with questions about the site.
Comment  | 
Print  | 
More Insights
Slideshows
What Digital Transformation Is (And Isn't)
Cynthia Harvey, Freelance Journalist, InformationWeek,  12/4/2019
Commentary
Watch Out for New Barriers to Faster Software Development
Lisa Morgan, Freelance Writer,  12/3/2019
Commentary
If DevOps Is So Awesome, Why Is Your Initiative Failing?
Guest Commentary, Guest Commentary,  12/2/2019
White Papers
Register for InformationWeek Newsletters
State of the Cloud
State of the Cloud
Cloud has drastically changed how IT organizations consume and deploy services in the digital age. This research report will delve into public, private and hybrid cloud adoption trends, with a special focus on infrastructure as a service and its role in the enterprise. Find out the challenges organizations are experiencing, and the technologies and strategies they are using to manage and mitigate those challenges today.
Video
Current Issue
Getting Started With Emerging Technologies
Looking to help your enterprise IT team ease the stress of putting new/emerging technologies such as AI, machine learning and IoT to work for their organizations? There are a few ways to get off on the right foot. In this report we share some expert advice on how to approach some of these seemingly daunting tech challenges.
Slideshows
Flash Poll