Fork me on GitHub
#graalvm-mobile
<
2022-06-15
>
emassey013506:06:44

Would there be an advantage of using GraalVM on Android versus just using the Android runtime and converting the Java classes generated by Clojure AOT to DEX? I read that the Clojure startup time is bad on Android, but all the information I found about that is at least several years old, and the Android Runtime seems to have AOT compilation now. Using the Android runtime would allow you to use the Android API directly and write UI views in Clojure.

phronmophobic06:06:39

Are there any recent example projects that go the AOT to DEX route? It was my impression that the differences with the android runtime were problematic, but I'm not sure about specifics and can't find any good resources. I know that graalvm binaries might have some favorable attributes for running on mobile devices: • faster startup • lower memory footprint