'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
98 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
98 months ago
I wonder how long I can coast on my suddenly-very-appropriate username on Macrumors...
Score: 24 Votes (Like | Disagree)
OtherJesus Avatar
98 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
98 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
98 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
98 months ago
I think it's amazing. Apple should be extremely proud of their work.
Score: 12 Votes (Like | Disagree)

Related Stories

Mac Notebook Upgrade Program

Apple Introduces New MacBook Upgrade Program for Business Partners

Monday November 29, 2021 7:38 am PST by
In association with CIT as the financing partner, Apple has launched a new Mac Upgrade Program for small businesses and Apple business partners that allow companies to easily distribute and upgrade their fleets of MacBooks at an affordable price to all of their workers. As outlined on CIT's website, shared by Max Weinbach, Apple Business Partners can distribute the 13-inch MacBook Pro,...
General cyber monday 20 sale feature

Best Cyber Monday Deals for AirPods, Apple Pencil, iMac, More

Monday November 29, 2021 4:19 am PST by
With Black Friday over, Cyber Monday 2021 is now in full swing and you can find many of the same sales as last week on Apple products like AirPods, Apple Pencil, and iPad Pro. In this article we're focusing on the best Cyber Monday discounts on Apple products like these and more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we...
2017 apple tv

Cyber Monday: Original Apple TV 4K Drops to $99.99 for Amazon Prime Members

Monday November 29, 2021 12:01 pm PST by
We've been tracking Apple product and accessory deals for Cyber Monday 2021 today, and now Woot is offering a solid discount on the previous generation 32GB Apple TV 4K. You can get this device in new condition for just $99.99 if you're an Amazon Prime member. Note that this sale will last for one day only. Note: MacRumors is an affiliate partner with some of these vendors. When you click a...
iphone holiday

Best Black Friday iPhone Deals Still Available

Friday November 26, 2021 4:58 am PST by
Cellular carriers have always offered big savings on the newest iPhone models during the holidays, and Black Friday 2021 sales have now carried over into Cyber Monday as well. Right now we're tracking notable offers on the iPhone 13 and iPhone 13 Pro devices from AT&T, Verizon, and T-Mobile. For even more savings, keep an eye on older models like iPhone SE. Note: MacRumors is an affiliate...
General cyber monday 20 sale feature 2

Best Cyber Monday Apple Accessory Deals Available Today

Monday November 29, 2021 6:41 am PST by
We started sharing deals on Apple products for Cyber Monday 2021 earlier today, and now we're tracking deals and bargains available from all of the best Apple accessory companies. Similar to Black Friday, you can expect Cyber Monday savings from Twelve South, Nomad, Belkin, Casetify, and many more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and...
iPhone SE Cosmopolitan Clean

New iPhone SE Reportedly on Track for Release in First Quarter of 2022

Tuesday November 30, 2021 8:08 am PST by
Apple plans to release a third-generation iPhone SE in the first quarter of 2022, according to Taiwanese research firm TrendForce. If this timeframe proves to be accurate, we can expect the device to be released by the end of March. As previously rumored, TrendForce said the new iPhone SE will remain a mid-range smartphone with added support for 5G:In terms of product development, Apple is...