Re:ClojureScript on Android
by mfikes on Tuesday September 29, 2015 @09:04PM
(#10301052)
If you're referring to the 5× — 7× speed difference for Bocko I included at bottom of the article, I'd be interested in knowing as well. :) Perhaps nvbm (the author) could shed some light. I can only hazard to guess that JavaScriptCore is simply more heavily optimized to reduce startup latency, with this really paying off in the mobile environment.
[ Parent
| on HN ]
It's confusing to me that Clojure running on Dalvik can be slower to start than ClojureScript running on Rhino running Dalvik.
I believe nvbm's demo running Bocko on Android using ClojureScript is actually using JavaScriptCore.
Rhino is indeed much slower; that's why Tahmid Sadik is motivated to covert Replicator to use JavaScriptCore over Rhino.
Here is nvbm's article on ClojureScript on Android: https://nvbn.github.io/2015/06/04/livecoding-android/