I believe that at some point I read that due to the fact that Android runs on Dalvik VM, for dynamic languages ββfor JVM (Clojure, Jython, JRuby, etc.) it would be difficult to get good performance on Dalvik (and therefore on Android). If I remember correctly, the reasoning was that under the hood, to achieve dynamic typing, there were quite a lot of exercises with java bytecode and that translating bytecode-> dalwick would not easily pick it up.
So should I avoid a dynamic JVM language if I want to develop for Android?
EDIT: I think I should have provided a little more context. I was considering using Clojure to develop Android applications. I thought about using Clojure for several reasons:
However, when I tried to write Android applications in Clojure, I found that the performance issue was unacceptable. But I found a blog post that said dynamically typed languages ββ(like Clojure) would have problems due to bytecode manipulation needed to get dynamic typing. Therefore, I was looking for independent confirmation that this is true or not. I should have known better than to assume that in this particular problem all dynamically typed JVM languages ββcan be considered the same thing. I guess I asked a rather broad question, so I think I should not be surprised that people did not quite understand what I asked.
android dynamic jvm clojure
Onorio Catenacci Jun 10 '09 at 2:01 2009-06-10 02:01
source share