3 ms·
What stops you from using Kotlin, Scala, or other languages that are available for Java VMs?
by danieldk 12y ago
What stops you from using Kotlin, Scala, or other languages that are available for Java VMs?
- cwyers 12y agoThis gets asked pretty often around here, and the answer (IIRC) is that in order to use any non-Java JVM language on Android, you have to link in a lot of libraries, and you start running into limits that Android puts on how much stuff you can pack into an executable.
- izacus 12y agoWhile mostly true, use of Kotlin has been rather nice with IntelliJ. Standard library is very small and out-of-the-box IDE support with Gradle plugin helps alot.
- on_and_off 12y agodo you mean the 64k method limit ? It does no longer exist (solved in 21, and a multi dex format has been introduced for earlier releases).