On Mon, Oct 11, 2010 at 10:02 AM, Steve Purcell <st...@sanityinc.com> wrote:

> Well, taking a brief look over your code, it seems like the main
> difference is that scriptjure is macro-based, so all the code generation
> gets done at compile-time.
>

js-gen generates js at compile time.


>
> That makes scriptjure faster, but at the expense of needing an unquote
> form - "(clj ...)" - to splice clojure expressions into the javascript
> source
> sexps.
>
> -Steve


I haven't found this to be true at all. Scriptjure in my tests is quite a
bit slower because it doesn't emit the final generated code at compile time,
but an intermediate form that permits splicing.

I look forward to the cross-pollinations of ideas between these two
endeavors :)

David

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

Reply via email to