IBM Swift Sandbox lets you test Apple's newly open-source programming language in your browser
Just hours after Apple made its Swift programming language open source, IBM has introduced a new, simple, and free browser-based way for developers to get started writing code.
Created at IBM's Mobile Innovation Lab in Austin, the new IBM Swift Sandbox tool is now available to test in beta form on the developerWorks website. Swift Sandbox allows developers to write Swift code and execute it in a server environment on top of Linux.
John Petitto, an IBM Swift developer, detailed the new tool on Friday in a post to Big Blue's developer website. The sandbox runs on IBM Cloud in a Docker container, and allows testers to use both the latest versions of Swift and its standard library.
Petitto teased that Swift Sandbox is just the beginning from IBM, which has openly embraced Apple's programming language for iOS and OS X. Now that it's open source, Petitto said that the Swift Sandbox tool "barely scratches the surface of what's possible."
In an interview this week, Apple senior Software VP Craig Federighi revealed that IBM has been a "major source" of feedback on Swift. The Armonk, New York-based company has an ongoing partnership to develop enterprise-focused mobile apps on iOS via Swift.
Created at IBM's Mobile Innovation Lab in Austin, the new IBM Swift Sandbox tool is now available to test in beta form on the developerWorks website. Swift Sandbox allows developers to write Swift code and execute it in a server environment on top of Linux.
John Petitto, an IBM Swift developer, detailed the new tool on Friday in a post to Big Blue's developer website. The sandbox runs on IBM Cloud in a Docker container, and allows testers to use both the latest versions of Swift and its standard library.
Petitto teased that Swift Sandbox is just the beginning from IBM, which has openly embraced Apple's programming language for iOS and OS X. Now that it's open source, Petitto said that the Swift Sandbox tool "barely scratches the surface of what's possible."
In an interview this week, Apple senior Software VP Craig Federighi revealed that IBM has been a "major source" of feedback on Swift. The Armonk, New York-based company has an ongoing partnership to develop enterprise-focused mobile apps on iOS via Swift.
Comments
Yes, it could help break the dominance of Windows-only applications (although that's been fading on its own for quite some time) but it probably doesn't leave Windows out in the cold.
Not a developer yet? Definitely use that IBM link. Seeing the code on one side of the screen and the results on the other is one of the best ways to begin.
The browser interface is very responsive.
This allows any platform with a web browser to try out Swift.
http://stackoverflow.com/questions/3824372/where-can-i-find-a-particular-version-of-the-ibm-jdk-jre-for-windows
http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14514070
"Unfortunately you can get hold of the JDK only as part of another IBM product (say, Websphere or any Rational product) that you purchased. Our licensing agreement with Sun/Oracle forbids us from providing direct downloads of the IBM JDK on any platforms that Oracle/Sun also support (namely Windows and Linux). If you look at the Java downloads section of the developerWorks website, you'll only find SDKs for AIX, z/OS and Linux on System p/z, since those are IBM owned platforms that Oracle doesn't support."
Swift running server-side allows for a replacement for Java and for some businesses replacing Java can cut some costs out:
http://www.oracle.com/us/corporate/pricing/price-lists/java-embedded-price-list-1977272.pdf
Java is used to develop Android apps too. It would be good to see adoption of Swift in the game SDKs (Unreal, Unity) at least. Having it able to run server-side means an app developer would only need to know one language to make cloud apps. Games have been made where heavy processing parts run on a server:
http://www.developer-tech.com/news/2015/aug/05/gamescom-microsoft-demonstrates-power-its-cloud/
http://www.extremetech.com/gaming/215532-microsoft-buys-havok-physics-from-intel-could-boost-xbox-one-cloud-gaming
As long as the connection is stable, a Swift app can send off a calculation to a server that runs up a number of instances in the same Swift code hundreds of times faster than the device could do on its own and just send back the results.
http://www.swiftstub.com/
But the IBM site will, certainly, be of greater influence to enterprise.
Here is some Swift code that works on both sites. It shows one approach to creating an Ordered Dictionary. I suspect that Apple will implement a high-performance Ordered Dictionary API to support its recently acquired FoundationDB.
IMO, 5 years from now, open sourcing Swift will prove to be the most significant Apple product release of 2015!
I'm looking forward to delving into Swift. I'm not familiar with the web sites but gauging opinions, they sound like excellent resources.
Interesting times.
P.S. So am I to understand AI's previous forum software provider suddenly shut down and disappeared? With no warning to customers? And not enough lead time to fully bake a new product?
I prefer the IBM site. It's still in beta. Imagine when it is released.
Program languages live for quite a long time, take C for example, 35 years and counting.
Apple creates a very solid fundament for the future and it will mean the end of the Windows platform in the longer run.
I think you're both right on point ... Swift will be everywhere in 5 years.
I kinda' feel like I did back in 1978 when I first saw an Apple ][ demonstration:
This changes everything!