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

A mobile hotspot in Australia will be capable of hitting gigabit speeds on the go
A new game could be in the works as Blizzard appears to have been hiring for a Diablo-related project
Nokia CEO Rajeev Suri will speak at MWC 2017
However what if you could go way, way back?
The Helio P15 packs an octa-core Cortex-A53 processor clocked at 2.2GHz
Samsung claims up to 27-percent higher performance or 40-percent lower power
Preliminary data for October shows another Windows 10 boom
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 /
HP Slate 7 is a 7-inch Android 4 Tablet PC with good sound
A cost-effective, 7-inch tablet PC from a renowned manufacturer
October 25, 2013 / 4

News Archive



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