News

Google could make Apple’s Swift a ‘first class’ language for Android

Google, Facebook and Uber recently had a meeting regarding Apple’s Swift programming language. These three industry giants are thought to adopt Swift as a first class language for their respective platforms. Several sources have confirmed the news.

Apple introduced Swift to the world at last year’s Worldwide Developers Conference (WWDC). Apple previously had Objective C as the core language developers used to make iOS and OS X apps. Prior to this, Apple had been using Objective C for over 20 years, but always thought what they could do without the verbosity that comes with C. Swift is faster, more modern, safe and very interactive. It has also become a favourite with the developers as an easy-to-write language that sheds much of the baggage that comes with other languages. Swift apps are significantly faster than Objective-C apps, outperforming them by over 93x.

About four months ago, Apple made Swift open source along with is compiler, libraries and debugger. But this may not be the only reason why Google would want to chop of Java and go for a relatively new language. According to sources, Swift is not meant to entirely replace Java, which is Android’s current first class language. Although, this is merely the initial plan. Swift is thought to have a broader ‘upside’ than Java and since it is also open source Google could easily adopt it without changing its own open source mobile structure.

But the question remains whether Google could actually do it. And the simple answer is that they can. For starters, Android would need a run time environment for Swift. Then they would have to roll out support in the form of APIs and SDKs, and make their entire library Swift-compliant. Some low-level Android APIs, which are currently in C++, will have to re-written along with some high-level APIs written in Java.

Last year, a developer named Romain Goyet tried Android with Swift and had some success which only proves that this can be done. Swift is no doubt one of the fastest growing languages and according to Github it is their 11th most popular language. But large-scale shift from Java to Swift would require massive re-works. And we’re not sure Google is entirely up for moving on from Java.

As for Facebook and Uber, contemplating a shift to Swift would be the benefits it could offer to developers. Swift is both a front-end and back-end language. For a product like Facebook, that’s beneficial because it potentially gives the company a wider scope to write APIs for services. Facebook is thought to be internally experimenting with Swift.

None of the three companies have however passed an official remark on this.
Source – The Next Web

Sponsored
Maryam Dodhy

I love bringing to light stories of extraordinary people working in Pakistan's tech and startup industry. You can reach out to me through maryamdodhy@techjuice.pk.

Leave a Comment
Share
Published by
Maryam Dodhy

Recent Posts

SBP Chief Reports October Remittances Exceed $3 Billion

KARACHI: The State Bank of Pakistan (SBP) is anticipating $500 million from the Asian Development…

7 mins ago

Sindh Assembly Reveals 28,500 Govt Employees’ Spouses as Illegal BISP Beneficiaries

The Sindh Assembly was informed that over 28,500 employees of the provincial government were unlawfully…

1 hour ago

SBP Eases Policy Rate by 2.5% as Inflation Shows Steady Decline

The Monetary Policy Committee (MPC) of the State Bank of Pakistan decided to cut the…

1 hour ago

SECP to Host Pakistan Startup Summit in Karachi Next Week

The Securities and Exchange Commission of Pakistan (SECP) is organizing the Pakistan Startup Summit, which…

2 hours ago

Fake News by Pakistani AI Website Sparks Turmoil in Ireland

On October 31, 2024, Halloween was celebrated worldwide, and the holiday spirit still lingers. Pakistan…

2 hours ago

Pak Suzuki Drops Popular Graphite Grey from Vehicle Lineup in Pakistan

Pakistan Suzuki Motor Company (PSMC) has announced the discontinuation of the widely favored Graphite Grey…

2 hours ago