Chris Lattner, who created the programming language Swift when he was at Apple, was blown away by how fast it grew. Now, he says Swift's future is in machine learning.

Advertisement
Chris Lattner, who created the programming language Swift when he was at Apple, was blown away by how fast it grew. Now, he says Swift's future is in machine learning.
Chris Lattner

LinkedIn/Chris Lattner

Advertisement

Chris Lattner, senior vice president of platform engineering at SiFive

  • Chris Lattner, senior vice president of platform engineering at SiFive, started building the programming language Swift in 2010 when he still worked at Apple, and it's now used by companies like Lyft, Uber, Airbnb, Square, and Apple.
  • Lattner says it's still too early to say if he'll work with Swift at SiFive, but he is still involved in the Swift community.
  • Lattner says the future of Swift is in data science and machine learning.
  • Visit Business Insider's homepage for more stories.

When former Apple engineer Chris Lattner first started building the iOS programming language in 2010, it was just a nights-and-weekends side project.

Complimentary Tech Event
Transform talent with learning that works
Capability development is critical for businesses who want to push the envelope of innovation.Discover how business leaders are strategizing around building talent capabilities and empowering employee transformation.Know More

Since its launch in 2014, Swift has quickly become the top language for building new iOS apps, and it's used by companies like Lyft, Uber, Airbnb, Square - and Apple itself. Lattner says when he first started building Swift, he didn't expect it to adopt as quickly as it did. At the time - when it was still just a hobby project - he just wanted to learn and see what could be done.

Since leaving Apple, Lattner has held stints at Tesla and Google. Recently, he joined the artificial intelligence chip startup SiFive as its senior vice president of platform engineering. Lattner says it's still too early to say whether he'll work with Swift at SiFive, but he still maintains connections with the core team that maintains Swift and is still involved in the community.

Advertisement

"Swift is not just me," Lattner told Business Insider. "I started it, and managed it, and drove it, and cared for it for a long time, but it's actually the result of a tremendous team."

'A lot of ideas have been battle-tested'

Lattner started the project because of challenges he had working with C++, another older programming language.

"C++ is a complicated language," Lattner said. "Coming out of this, I was burned out, and I thought, there has to be a better thing. C++ and Objective-C [another older programming language], neither of them are bad. They're products of the circumstances they came from. We can do something way better."

Later, when he realized that Swift could be a better alternative, he started asking for funding and growing a team at Apple to work on it. And by the time it actually launched in 2014, he says he had "a pretty good sense it would be really popular."

"One of the great things about Apple culture is it's very analytical," Lattner said. "They ask questions because they're trying to shape things. That really does shape a product...It's been four years in, and a lot of the ideas have been battle-tested. A lot of the hard questions had been answered."

Advertisement

'The reception of it blew me away'

Before Swift, the main language for building iOS apps was Objective-C. Lattner doesn't expect Objective-C to ever disappear, as many existing projects are still written in it. However, he says most new iOS projects he sees are in Swift, including at Apple.

"Are people still choosing to write projects in Objective-C?" Lattner said. "That's kind of game over for Objective-C."

Looking forward, Lattner says the data science and machine learning community is quickly changing. Currently, most people in that community use Python, but more people are starting to use Swift.

"Swift is far more approachable and allows people to be productive," Lattner said. "It pulls in more people from the community."

Lattner says Swift was "very Apple-centric" when it first began, but now he sees developers using Swift to write all sorts of projects and tools, including in servers and machine learning.

Advertisement

"We knew we were on the right track and thought it would be exciting and popular," Lattner said. "The reception of it blew me away."

NOW WATCH: Jeff Bezos reportedly just spent $165 million on a Beverly Hills estate - here are all the ways the world's richest man makes and spends his money

{{}}