Did the speedup of script execution have other costs? One would imagine that using Clojurescript would incur some other costs somewhere. This feels like a free lunch somehow.
Not true.
(def $ js/jQuery)
(.append ($ "body") "hello world")
The reasons you'd use Dommy over jQuery are outlined in the original post. (def $ js/jQuery)
(.each ($ "body") (fn [idx, val]
(.write js/document "In a lambda")))
The Google Closure Compiler munges names of functions so that any function declared in ClojureScript cannot be called from jQuery which means that no jQuery function that takes a callback can be used. And you really want to use GCC because without its dead code removal a simple helloworld.js file takes more than 700kb.