On a related note - is using Scala also a viable option for android? Anybody tried?
On a related note - is using Scala also a viable option for android? Anybody tried?
Additionally, Dalvik didn't have JIT until late in its maturity, so besides the normal slowdown from Java->Scala, expect it to slow down further by the less-efficient VM.
It might be viable on newer devices, but it'll definitely have problems on older ones. Other than that, it does seem very feasible to write and deploy a Scala Android app.
[1] http://blog.jetbrains.com/kotlin/running-hello-kotlin-on-and...
Execution is as fast as Java. I remember running my Scala app on one of the first tablets (Android 2.x) without issues.
The build system support is impressive and there is a whole community which focuses on Scala running on Android.
Anyway, the presentation is almost two years old now.
Now if it is for professional stuff, personally I would just use plain Java, as Scala and Clojure still seem to have issues.