7 ms·
I'd say "Bring Scala to Android" would be more comparable? Bring Clojure and I'd say you're stealing a lot of developers away who think Swift is a half measure.
by gte910h 12y ago
I'd say "Bring Scala to Android" would be more comparable? Bring Clojure and I'd say you're stealing a lot of developers away who think Swift is a half measure.
- Touche 12y agoClojure already runs on Android, it's just dog slow.
- gte910h 12y agoGoogle 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.
- logicchains 12y agoPerformance 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.
- Touche 12y agoClojure'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-bootstrapping.html http://nicholaskariniemi.github.io/2014/02/25/clojure-bootst...