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

Popular Stories

maxresdefault

Samsung's New 32-Inch 'M8' Display vs. Apple's Studio Display

Thursday April 21, 2022 1:14 pm PDT by
Samsung recently introduced the M8, a new 32-inch 4K display that's priced at $700, making it less than half as expensive as the Studio Display from Apple. We picked up one of the displays and thought we'd compare it to the Studio Display in our latest YouTube video to see how it performs and whether you can save some money by going with a cheaper option. Subscribe to the MacRumors YouTube ...
macos server

Apple Discontinues macOS Server

Thursday April 21, 2022 10:30 am PDT by
Apple today announced in a support document that macOS Server is being discontinued as of April 21, 2022. Apple has been phasing out macOS Server for several years now, and the company is finally ready to shut it down for good. macOS Server 5.12.2 will be the last version of the app, and macOS Server services have now been migrated to macOS. Popular macOS Server capabilities that include...
apple cash visa hero

New Apple Cash Accounts Now Branded as Visa Cards

Friday April 22, 2022 5:55 am PDT by
The Apple Cash virtual debit card appears to be switching networks from Discover to Visa, as revealed in some updated images on Apple's website and noted by Twitter user @Kanjo. Since its launch, Apple Cash (originally known as Apple Pay Cash) has been operated through a partnership with Green Dot Bank on the Discover network. Discover is one of the smaller card networks and is accepted in...
USB C Over Lightning Feature

EU Moves One Step Closer to Mandating Apple to Switch iPhone, iPad, and AirPods to USB-C

Thursday April 21, 2022 7:54 am PDT by
Members of the European Parliament this week voted overwhelmingly in support of legislation that will compel Apple to offer a USB-C port on all iPhones, iPads, and AirPods in Europe. The proposal, known as a directive, will force all consumer electronics manufacturers who sell devices in Europe to ensure that all new phones, tablets, laptops, digital cameras, headphones, headsets, handheld...
iphone 13 pro and 14 pro render with background

iPhone 14 Pro Rumored to Feature Rounder Design to Match Larger Rear Camera Array

Thursday April 21, 2022 9:57 am PDT by
The iPhone 14 Pro could feature significantly rounder corners to match the larger rear camera array, according to Apple concept graphic renderer Ian Zelbo. Zelbo, who is best known for creating renders of upcoming Apple devices based on leaked information, including the Mac Studio, Studio Display, rumored mixed-reality headset, and more, believes that the iPhone 14 Pro models are likely to...
anker 735 panels

Anker's New 100W GaN Charger Features Three USB Ports, 34% Smaller Size Than Apple's 96W Charger

Friday April 22, 2022 8:46 am PDT by
Originally announced at CES back in January, the U.S. version of Anker's highly anticipated 736 USB charger is now available through Amazon for $75.99 in black/silver. Using Anker's GaN II technology, the 100-watt 736 charger is 34% smaller than Apple's 96-watt charger, yet offers the flexibility of three USB ports to charge multiple devices when needed. The 736 includes two USB-C ports...
iPhone 14 Purple Feature

iPhone 14 Lineup Color Options to Include All-New Purple Shade, Sketchy Rumor Claims

Friday April 22, 2022 8:01 am PDT by
The iPhone 14 lineup will be available in a refreshed lineup of color options, including an all-new purple color, and feature a new True Tone flash design, according to a sketchy rumor shared by an unverified source (via AppleTrack). The post, which has since been deleted, comes from an unverified source on Chinese social media site Weibo and claimed to reveal the full range of color options ...
Transcend JDL330 2

Transcend Announces 1TB JetDrive Lite 330 Expansion Card for 14-inch and 16-inch MacBook Pro

Thursday April 21, 2022 4:38 am PDT by
Transcend has announced a 1TB version of its JetDrive Lite 330 expansion cards for 14-inch and 16-inch MacBook Pro models, providing users of Apple's latest Macs with an affordable way to increase internal storage capacity. Transcend says the JetDrive Lite 330 cards are built with high-quality NAND flash, offering read and write speeds of up to 95MB/s and 75MB/s, respectively. Once the...
magsafe battery pack on iphone

MagSafe Battery Pack Now Able to Charge at Faster 7.5W Speed After Firmware Update

Wednesday April 20, 2022 1:09 pm PDT by
Apple yesterday released a firmware update designed for the MagSafe Battery Pack, and it turns out the new firmware enables 7.5W charging while on the go, up from the previous 5W limit. In an support document, Apple says that MagSafe Battery Pack owners can update their firmware to the new 2.7.b.0 release to get the faster 7.5W charging capabilities. Updating the MagSafe Battery Pack can...