Google thinking about replacing Java with Apple's Swift for Android

Android logoLast December, about the same time when Apple was busy announcing that its Swift programming language was going open-source at the Worldwide Developers Conference (WWDC), representatives from Google, Facebook, and Uber were having a secret meeting somewhere in London about Swift's future, TNW reports, citing an inside source.

The source said that the three companies talked about ways to use this new programming language, now that it was out in the open under an open license and away's from Apple's closed environment.

While Facebook and Uber were more interested in how Swift could be used on servers (yes, Swift can run server-side), Google was exploring the idea of replacing Oracle's Java as the language behind its Android mobile operating system.

Google thinking about replacing Java with Apple's Swift for Android

Ever since Oracle sued Google in 2012, the lawsuit has been a thorn in Google's mobile business. Things took a turn for the worse in recent years, and especially lately after Oracle requested damages of $9.3 billion (€8.3 billion) for Google's use of Java's proprietary APIs, which Big Red says aren't covered by the GPL license, under which Java is offered.

The whole dispute has started to wear on Google, who's fearing that courts that once ruled in its favor a few years back, and have switched opinions towards Oracle side, may not be convinced by its arguments anymore.

Trying to avoid a situation where Oracle gets a cut of its hard work, recently, Google has started moving some of Android's inner parts from Oracle's Java APIs to their open-source counterparts from OpenJDK. This change is set to happen with Android N, the current Android version under development, expected to be released this year.

The secret London meeting was a way for the three companies to learn from each other's expertise and decide if Swift is worth the effort.

Facebook has been heavily involved with JavaScript lately, using Node.js on the server-side, and its own creation, React.js, for client-side code.

While JavaScript is insanely popular right now, it's still an ECMA-based language, running on the same basic backbone like PHP, and incredibly difficult to write code in.

On the other hand, Swift has been lauded for its simplistic syntax, one of the reasons that a week after its release it become the most fork'ed and star'ed programming language on GitHub.

Facebook's efforts are also doubled by IBM, who's been working on improving Swift's server integration. Compared to Swift on Android devices, Facebook and Uber's dream of having Swift run server-side and then rewriting client-side apps looks more doable.

On the other hand, Google would need to rewrite Android's entire codebase, and then find a way to make newer apps run on older Android versions via some kind of Swift runtime. The workload is monumental, but nothing that Google engineers can't handle.

Ever since the Oracle lawsuit started, these kind of "Google is moving away from Java to [insert_name] language" have come up a few more times. Other languages to which Google was rumored to move were Kotlin, a language derived from Java, and Google's own Dart language.

While porting Android to Kotlin would take less time and create less backward dependency headaches, TNW claims that Google sources said Kotlin is just a little bit too slow when compiling, something at which both Dart and Swift excel.

All of this should be taken with a grain of salt, since probably that secret London meeting was only mundane brainstorming between company reps and not the place where Android's fate was decided, since that decision must be made at the highest levels of Google's leadership.

Our opinion is that Google would still hang on to Java as long as it can, and avoid turning the Android ecosystem upside down with a Swift-based release.

Source: Softpedia

Tags: Apple, Google, Oracle

Add comment

Your name:
Sign in with:
Your comment:

Enter code:

E-mail (not required)
E-mail will not be disclosed to the third party

Last news

Galaxy Note10 really is built around a 6.7-inch display
You may still be able to download your content
Facebook, Messenger and Instagram are all going away
Minimize apps to a floating, always-on-top bubble
Japan Display has been providing LCDs for the iPhone XR, the only LCD model in Apple’s 2018 line-up
The 2001 operating system has reached its lowest share level
The entire TSMC 5nm design infrastructure is available now from TSMC
The smartphone uses a Snapdragon 660 processor running Android 9 Pie
The Samsung Galaxy A5 (2017) Review
The evolution of the successful smartphone, now with a waterproof body and USB Type-C
February 7, 2017 / 2
Samsung Galaxy TabPro S - a tablet with the Windows-keyboard
The first Windows-tablet with the 12-inch display Super AMOLED
June 7, 2016 /
Keyboards for iOS
Ten iOS keyboards review
July 18, 2015 /
Samsung E1200 Mobile Phone Review
A cheap phone with a good screen
March 8, 2015 / 4
Creative Sound Blaster Z sound card review
Good sound for those who are not satisfied with the onboard solution
September 25, 2014 / 2
Samsung Galaxy Gear: Smartwatch at High Price
The first smartwatch from Samsung - almost a smartphone with a small body
December 19, 2013 /

News Archive



Do you use microSD card with your phone?
or leave your own version in comments (15)