'Swift' Programming Language in Development for Four Years, "Major Focus" Since 2013

SwiftThe Swift programming language was as close to a "One More Thing" as there was at the WWDC Keynote this week, debuting to significant cheers from the developers in the audience. Immediate reaction after the keynote suggested Swift was "huge news" and the future of development on Apple products.

Apple says Swift code is "concise yet expressive", interactive and fun. For coders, the introduction to Swift is available on the iBooks Store but Chris Lattner, head of Apple's Developer Tools department, shared additional information on Swift on his personal webpage (via TechCrunch).

Now that Swift is public, Lattner revealed that he began working on Swift in mid-2010, with a team of coders "contributing in earnest" late in 2011. Last July, Swift finally became the major focus of Lattner's Developer Tools Group.

The Swift language is the product of tireless effort from a team of language experts, documentation gurus, compiler optimization ninjas, and an incredibly important internal dogfooding group who provided feedback to help refine and battle-test ideas. Of course, it also greatly benefited from the experiences hard-won by many other languages in the field, drawing ideas from Objective-C, Rust, Haskell, Ruby, Python, C#, CLU, and far too many others to list.

The Xcode Playgrounds feature and REPL were a personal passion of mine, to make programming more interactive and approachable. The Xcode and LLDB teams have done a phenomenal job turning crazy ideas into something truly great. Playgrounds were heavily influenced by Bret Victor's ideas, by Light Table and by many other interactive systems.

Lattner says that he hopes to make programming "more approachable and fun" with Swift, getting rid of extraneous materials to make programming easier to learn.

"We'll appeal to the next generation of programmers and to help redefine how Computer Science is taught," Lattner writes.

Top Rated Comments

doelcm82 Avatar
111 months ago
Today's programmers have it easy.

We programmers from the 80s used to have to build linked lists from dirt and bits of string we found on the ground.

The programmers from the 70s had to punch their code out on cards and feed the cards into the machine.

Inferred variable types...pshaw.
Score: 31 Votes (Like | Disagree)
SwiftLives Avatar
111 months ago
I wonder how long I can coast on my suddenly-very-appropriate username on Macrumors...
Score: 24 Votes (Like | Disagree)
OtherJesus Avatar
111 months ago
If you think Swift is great, wait till you see the new language from samsung. They started working on it one day before Apple started working on Swift.

It's gonna totally change the industry.
Score: 23 Votes (Like | Disagree)
doelcm82 Avatar
111 months ago
Absolutely! There wasn't a murmur of this leading up to WWDC. I watched the keynote, and my jaw just about hit the floor when they announced Swift. Yes, definitely could have been a 'one more thing' if Jobs had been around to deliver the keynote. And it's interesting to know that this was started under his watch.
No overseas partners to leak it to sites like this one.
Score: 18 Votes (Like | Disagree)
NachoGrande Avatar
111 months ago
I can't wait to start working with this. Objective C is archaic to say the least
Score: 14 Votes (Like | Disagree)
TimWillz Avatar
111 months ago
I think it's amazing. Apple should be extremely proud of their work.
Score: 12 Votes (Like | Disagree)

Popular Stories

General Black Friday Deals 2022 Green

All the Apple Black Friday Deals You Can Still Get

Friday November 25, 2022 4:40 am PST by
Although Black Friday is now technically over, many Apple products are still seeing major discounts through the weekend as we head into Cyber Monday. In this article, you'll find every Apple device with a notable Black Friday sale that's still available. We'll be updating as prices change and new deals arrive, so be sure to keep an eye out if you don't see the sale you're looking for yet. Note:...
iphone 14 pro hands snowflakes 1

Best Cyber Monday iPhone Deals Available Today

Wednesday November 23, 2022 1:55 pm PST by
Cellular carriers have always offered big savings on the newest iPhone models during the holidays, and Cyber Monday is no different. We're tracking notable offers on the iPhone 14 and iPhone 14 Pro devices from AT&T, Verizon, and T-Mobile. For even more savings, keep an eye on older models like the iPhone 13. Note: MacRumors is an affiliate partner with some of these vendors. When you click a...
maxresdefault

Nothing Phone 1 Displays AirPods Battery Level After Latest OS Update

Friday November 25, 2022 3:33 am PST by
Nothing Phone 1 users today began receiving the Nothing OS 1.1.7 update, which adds support for displaying the battery percentage of connected AirPods, amongst other improvements and bug fixes. If you own a Nothing Phone 1, you can check for the OTA update by going to Settings -> System -> System updates. Bear in mind that as support for displaying AirPods battery level is still an...
ipad holiday bulbs

Best Cyber Monday iPad Deals Available Today

Thursday November 24, 2022 12:25 pm PST by
Cyber Monday deals have been in full swing since Black Friday deals ended, and we're seeing solid discounts on Apple devices. We're highlighting the best sales for all of Apple's product lines, and in this article you'll find the best Cyber Monday sales on iPad, iPad Pro, iPad Air, and iPad mini. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make ...
airpods pro 2

Apple Engineer Addresses Lack of Lossless Support on New AirPods Pro

Friday November 25, 2022 2:58 am PST by
An Apple engineer has addressed the lack of lossless audio support in the second-generation AirPods Pro in a new interview. Current Bluetooth technology in the AirPods lineup means that Apple's audio products do not support Apple Music Lossless audio. Apple has previously hinted that it may develop its own codec and connectivity standard that builds on AirPlay and supports higher quality...
Cyber Monday Deals Feature 2022

Best Cyber Monday Apple Deals for AirPods, Apple TV 4K, iPad, More

Monday November 28, 2022 5:24 am PST by
Now that Black Friday is over, the internet's attention has shifted to Cyber Monday deals today. Of course, for Apple products this means that many of the deals you saw last week are basically the same today. Despite this repetition, it's a great chance for anyone who missed out on Black Friday deals to still get the year's best prices on many Apple devices. Note: MacRumors is an affiliate...
Apple Watch Ultra Oceanic Plus App

Apple Announces Oceanic+ App Now Available for Apple Watch Ultra

Monday November 28, 2022 6:11 am PST by
Apple today announced that the Oceanic+ app is available for the Apple Watch Ultra starting today. Designed by Huish Outdoors in collaboration with Apple, the app serves as a dive computer for recreational scuba diving at depths up to 40 meters/130 feet. Apple already offers a basic Depth app on the Apple Watch Ultra for viewing your current depth, maximum depth reached, water temperature,...
Three Biggest iPhone SE 4 Questions Feature

Three Biggest Questions About the iPhone SE 4

Saturday November 26, 2022 12:00 am PST by
While we already have some clear indications about what to expect from the fourth-generation iPhone SE, there are three major questions looming over the device at the current time. Chinese site MyDrivers and and leaker Jon Prosser believe that the iPhone SE is set to move to an iPhone XR-like design in its next incarnation, which would involve eliminating the Home button and adding a "notch" ...