Apple today announced a new programming language native to both OS X and iOS: Swift.
Speaking at Apple’s annual developer conference, software engineering VP Craig Federighi called the new language “fast, modern, and designed for safety.” It’s like “Objective-C, without the C,” Federighi said.
A beta version of Swift is available now for members of Apple’s developer program.
According to Federighi:
When it comes to speed, Swift is great. Swift is also modern with features like closures, multiple return types, and namespaces. Swift is completely native to both Cocoa and Cocoa Touch.
According to Apple, “Xcode Playgrounds make writing Swift code incredibly interactive by instantly displaying the output of Swift code.”
Here’s a look at Swift’s “Playground” development environment:
Federighi claims that Swift is far better at handling RC4 encryption compared to Objective-C and Python:
More on Swift’s speed:
In a press release, Apple calls Swift “a powerful new programming language for iOS and OS X that makes it easier than ever for developers to create incredible apps.” Apple claims that “Swift helps developers write safer and more reliable code by eliminating entire categories of common programming errors, and coexists with Objective-C code, so developers can easily integrate Swift into their existing apps.”
According to Federighi, “Swift is going to be ready for primetime out of the gate,” and will feature “complete Xcode support.” Additionally, as soon as iOS and OS X are made available, Federighi says developers “can submit Swift apps to the App Store.”
VentureBeat's mission is to be a digital town square for technical decision-makers to gain knowledge about transformative enterprise technology and transact. Learn More