Hacker News new | ask | show | jobs
by gte910h 4391 days ago
Google didn't bring Clojure to Android, some 3rd party did, and slowly. Scala appear to have the same story I think? (Large startup lag?)

If you want functional on Android, I'm betting F# is the premiere method today performant enough to write real apps in.

1 comments

Performance is not just about the language; Scala and Clojure can be just as fast as Java on the Oracle JVM or OpenJDK. The Android Dalvik VM is just incredibly ineffective at optimisation compared to a real JVM, and Google has done little to improve it. Things might change with the new ART VM, however.
Clojure's startup time is super slow even on the JVM. Here's a good analysis of why: http://nicholaskariniemi.github.io/2014/02/25/clojure-bootst...