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

China’s Tencent Releases Large Language Model, Opens it For Enterprise Use

Capable of conversing in both Chinese and English, Tencent’s large language model ‘Hunyuan’ is claimed…

8 months ago

Apple Reportedly Spending ‘Million of Dollars Each Day’ for AI Training

Working on multiple AI models, Apple has allocated several teams who are working on artificial…

8 months ago

World’s Largest Wind Turbine Breaks Record For Power Generated In A Single Day-During A Typhoon

The world's largest offshore wind turbine has achieved a milestone by setting a new record…

8 months ago

YouTube Will Let You Play Mini Games Soon

YouTube is stepping into the world of gaming. YouTube has started testing out its gaming…

8 months ago

Pakistani Student Won First Position In Matric Exams of UAE

In a remarkable academic achievement, Abdullah Zaman, a Pakistani student hailing from Attock, has clinched…

8 months ago

‘Flying Bum’ World’s largest Aircraft Is Ready To Launch In 2026 With Hybrid Technology

Flying Bum, the world's largest aircraft is ready to launch in 2026. The Airlander 10…

8 months ago