A lot of the slowness in Clojure comes down to how slow it is to load the main namespaces that are needed, especially clojure.core (see this post <http://nicholaskariniemi.github.io/2014/02/25/clojure-bootstrapping.html> ).
You should also look into the Clojure fastload branch, which apparently helped out a few Android programmers according to the clojure-android google list. On Friday, November 21, 2014 at 2:48:20 PM UTC-7, Alan Moore wrote: > > > On Friday, November 21, 2014 9:50:58 AM UTC-8, Uday Verma wrote: >> >> Hello Everyone, >> >> Basically the approach is this: cljs -> js -> rhino [3] -> bytecode. >> Provides java interop through rhino. By the time things get to rhino, >> google closure has already thrown away most of the runtime away since we >> didn't use it, and we end up with manageable amount of JS which is compiled >> to manageable amount of byte code. All of jvm is still available. >> > > Sounds like the clojure compiler could benefit from dead code elimination. > I'm not sure if that is possible or not but it does sound like it might > work. Compiles would probably take longer so the gains might be offset by > longer compile times. If this is the case then it wouldn't help development > workflows but could provide deployment/runtime gains. > > I'm wondering if the availability of eval in clojure and the lack of it in > clojurescript makes a difference - it might lead to some code that can't be > properly analyzed. > > Alan > > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.