3 ms·
That's not really fair, tbh, (and I'm a huge fan of Clojure). It's dog-slow on Android. I don't know the details, but I think it's has a lot to do with differen
by spacemanaki 14y ago
That's not really fair, tbh, (and I'm a huge fan of Clojure). It's dog-slow on Android. I don't know the details, but I think it's has a lot to do with differences between Dalvik and Hotspot.
- thebluesky 14y agoClojure is currently significantly slower than Java in general, likely due to dynamic typing. See: http://shootout.alioth.debian.org/u64q/benchmark.php?test=all&lang=clojure&lang2=java http://shootout.alioth.debian.org/u64q/benchmark.php?test=al...
- spacemanaki 14y agoRight, but that's not terribly relevant to this thread. As I understand it the difference between Clojure on Dalvik and Java on Dalvik is much greater than Clojure on Hotspot and Java on Hotspot.