Enide Studio

Alternative to Java for Android development

2014-06-22 00:00:00 +0000

by Paul Verest

Hi All,

With Apple introducing Swift programming language for iOS development, many would wondered what for Android. I did research:

Stackoverflow question “Alternatives to Java for Android development” is closed 1 year ago. Mentioned are C++ (NDK), Mirah (JRuby), Xtend, C# (abandomed Mono)

Groovy is not mentioned, but now with Gradle that is Groovy based, it should be listed.

Note about Swift:

  1. Swift is not new language. We live in decade when creating new language is usual stuff. But much interesting results happens when old language is applied to do new things. (Like JavaScript for server side and scripting)
  2. Swift is more like Java with Lambda, JavaScript and CoffeeScript
  3. Swift is in beta now (as XCode IDE with its support)
  4. Swift is closed-source, some alternative application and IDE are unlikely to arrive.
  5. You still need to buy Mac, and developer license from Apple.

C++

C++ has been long ago via NDK. It is just not Java/JVM based.

Xtend

Xtend is naturally goes well with Eclipse IDE and maven, also there are:

Groovy

Groovy on Android presentation by Cédric Champeau https://speakerdeck.com/melix/groovy-on-android
PDF

And blog Groovy on Android, Groovy on Android, technical details

GitHub: https://github.com/melix/groovy-android-gradle-plugin

Quotes from blog:
“Some people are already asking for a {swift} alternative for Android.”

Scala

Scala was mentioned in comment.

Final word

Note that final word will be by Google. (Just like it was for Maven vs Gradle).
It has now deep pockets with Go and Dart, and actually Java 8 would give different taste to Android evelopment.

comments powered by Disqus