What languages โ€‹โ€‹are created for developing native applications on Android [except Java]

Are there languages โ€‹โ€‹other than Java for developing native applications in android without a script layer / AIR and other third-party abstractions.

Mostly interested in Clojure, JRuby, Scala

+6
source share
2 answers

Since Scala is compiled into its own JVM bytecode, it can be used to develop native Android applications.

The biggest problem is that using a third-party library is not easy in Android development, and you need to use proguard to reduce the size of your program, sometimes this can cause problems.

But itโ€™s still possible to develop an Android application using Scala, for example, I wrote a small Android application (a page in Chinese, but there are screenshots) using Scala. This is not a complicated application, but should demonstrate what Scala can do in developing Android applications.

There are also SBT plugins here to help you create your Scala / Android program.

Finally, if you want to develop Android using Scala, I suggest using Scala 2.8.x. I found that the program crashed during adb installation when I extend the collection class using Scala 2.9.

+7
source

If you use Mirah, you can get code that is as fast and small as a Java entry, but you get subtleties like type inference, closure, and macros. The tool is still pretty immature compared to Scala, but if you want to minimize overhead above everything else, you should give it the look: http://mirah.org and https://github.com/mirah/pindah

0
source

Source: https://habr.com/ru/post/898742/


All Articles