Re: clojurescript additional js dependencies

2011-08-02 Thread Sergey Didenko
Yes, after compiling this example and its raw Google Closure equivalent: (ns bgcolor (:require [goog.fx.dom :as fx-dom])) (defn ^:export animate [elem start end] (let [ anim (fx-dom/BgColorTransform. elem start end 2000)] (.play anim ( After compilation through the Google

Re: clojurescript additional js dependencies

2011-08-02 Thread Luc Prefontaine
28k after gclosure compilation is not insane considering that cljs.core is above 350K. ClojureScript needs some runtime code afterall and that at some point cannot get compressed/slashed away endlessly. ClojureScript will take some footprint but the gclosure compiler does a great job here to

Re: clojurescript additional js dependencies

2011-08-02 Thread Luc Prefontaine
Hi Rich, Zero footprint ? If you ever approach that goal I suggest a name change like ClojureRTA (Clojure Running on Thin Air:)) Luc P. On Tue, 2 Aug 2011 20:25:43 -0400 Rich Hickey richhic...@gmail.com wrote: That said, it is our intention to look at minimizing the base footprint as far as

clojurescript additional js dependencies

2011-08-01 Thread Sergey Didenko
Are there plans to decrease the amount of js dependencies that ClojureScript makes compared to the raw Google Closure? Currently the difference in final js code size is about 28kb (5kb zipped) in advanced mode for a simple example. -- You received this message because you are subscribed to the

Re: clojurescript additional js dependencies

2011-08-01 Thread Luc Prefontaine
After compilation through the Google compiler ? On Tue, 2 Aug 2011 01:42:40 +0300 Sergey Didenko sergey.dide...@gmail.com wrote: Are there plans to decrease the amount of js dependencies that ClojureScript makes compared to the raw Google Closure? Currently the difference in final js code