I too was intrigued by this and cobbled together a quick test to see if 
this made it possible to create command-line apps that start up more 
quickly [1]. It appears that this is indeed the case, but, of course you 
still need to pay JVM startup time.

I was also interested in what Sam Beran accomplished, wishing the same 
approach was available in iOS. I haven't thought of a clean way to do it 
and simply load the JS into JavaScriptCore [2], paying several hundred 
milliseconds at startup, which would be nice to eliminate.

The main aspect of all of this appears to be the whole-program optimization 
aspect eliminating lots of unnecessary code. I'm currently wondering if 
this is on the plate for Clojure 7.

[1] https://github.com/mfikes/cljs-cl
[2] https://github.com/mfikes/goby

-- 
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.

Reply via email to