Re: ClojureScript dead-code elimination

2012-09-18 Thread Mimmo Cosenza
I'm studying clojurescript/closure to better understand if using clojurescript could be really a step ahead in developing rich web based application. So, I'm still a newbie. I found in some way useful this google service http://closure-compiler.appspot.com/home to evaluate gclosure benefits fo

Re: ClojureScript dead-code elimination

2012-09-18 Thread Matt Campbell
On 9/18/2012 8:57 AM, David Nolen wrote: I've heard of several large ClojureScript programs that generate 1.2-1.8 *megabytes* of JavaScript. After advanced compilation and gzipping the applications are around 40k-50k (http://blog.mezeske.com/?p=552). This is pretty impressive given that jQuery, w

Re: ClojureScript dead-code elimination

2012-09-18 Thread Moritz Ulrich
Hi, Matt Campbell writes: > When run in advanced mode, the Google Closure Compiler tries to > eliminate dead code. This currently doesn't seem to be very effective > for ClojureScript. A minimal hello-world example currently compiles to > 90 KB in advanced mode. Is this the best that can be d

Re: ClojureScript dead-code elimination

2012-09-18 Thread David Nolen
On Tue, Sep 18, 2012 at 9:40 AM, Matt Campbell wrote: > When run in advanced mode, the Google Closure Compiler tries to eliminate > dead code. This currently doesn't seem to be very effective for > ClojureScript. A minimal hello-world example currently compiles to 90 KB in > advanced mode. Is this

ClojureScript dead-code elimination

2012-09-18 Thread Matt Campbell
When run in advanced mode, the Google Closure Compiler tries to eliminate dead code. This currently doesn't seem to be very effective for ClojureScript. A minimal hello-world example currently compiles to 90 KB in advanced mode. Is this the best that can be done? Is Clojure's dynamism an insurm