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.

Share
Published by
Maryam Dodhy

Recent Posts

Garena Free Fire India Launch Rumors: What Fans Need to Know

Reports suggest that Garena Free Fire is set to make a much-anticipated return to India.…

13 hours ago

Albania Bans TikTok for One Year: Here’s the Reason!

The Albanian government has announced a ban on the social media platform TikTok for a…

17 hours ago

Google Pixel 9 Pro vs. 8 Pro: Biggest Upgrades Compared

The launch of Google’s latest Pixel lineup brings an exciting chance to compare the new…

19 hours ago

Azad Kashmir to Host Pakistan’s First Women-Centric Software Technology Park

ISLAMABAD: In February next year, Pakistan is set to launch its first women-focused software technology…

20 hours ago

HEC Reveals Law Admission Test Date for LLB Students

The Law Admission Test (LAT) has been announced by the Higher Education Commission (HEC) of…

20 hours ago

Meta’s WhatsApp to Release New Playback Speed Feature for Videos

Meta's WhatsApp is rolling out a new playback speed feature, allowing users to adjust video…

1 day ago