Re: Blog Post: "The Magic of Macros: Lighting-Fast Templating in ClojureScript"

2013-01-29 Thread Aria Haghighi
Thanks! Chris' protocol commit was very good. Made the runtime stuff faster 
and extensible.

On Saturday, January 26, 2013 4:29:56 PM UTC-8, Curtis Gagliardi wrote:
>
> Great use of macros, and I found Chris Granger's protocol commit 
> enlightening as well, thanks.
>
> On Tuesday, January 22, 2013 12:45:34 PM UTC-6, Aria Haghighi wrote:
>>
>> Hi all,
>>
>>   I've done a follow-up post on the Prismatic blog about our dommy, our 
>> ClojureScript templating library. We added some macros to parse nested 
>> vector data structures at compile time
>> into direct DOM creation code. The resulting speedup is pretty dramatic 
>> about 5x, bring ClojureScript templating to roughly 3x faster than a jQuery 
>> baseline. This is a trick I know Hiccup and some other libraries do but I 
>> thought it might be worth document/explaining this kind of application of 
>> macros. 
>>
>>
>> http://blog.getprismatic.com/blog/2013/1/22/the-magic-of-macros-lighting-fast-templating-in-clojurescript
>>
>> Thanks, Aria
>>
>

-- 
-- 
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/groups/opt_out.




Re: Blog Post: "The Magic of Macros: Lighting-Fast Templating in ClojureScript"

2013-01-26 Thread Curtis Gagliardi
Great use of macros, and I found Chris Granger's protocol commit 
enlightening as well, thanks.

On Tuesday, January 22, 2013 12:45:34 PM UTC-6, Aria Haghighi wrote:
>
> Hi all,
>
>   I've done a follow-up post on the Prismatic blog about our dommy, our 
> ClojureScript templating library. We added some macros to parse nested 
> vector data structures at compile time
> into direct DOM creation code. The resulting speedup is pretty dramatic 
> about 5x, bring ClojureScript templating to roughly 3x faster than a jQuery 
> baseline. This is a trick I know Hiccup and some other libraries do but I 
> thought it might be worth document/explaining this kind of application of 
> macros. 
>
>
> http://blog.getprismatic.com/blog/2013/1/22/the-magic-of-macros-lighting-fast-templating-in-clojurescript
>
> Thanks, Aria
>

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




Re: Blog Post: "The Magic of Macros: Lighting-Fast Templating in ClojureScript"

2013-01-26 Thread Zack Maril
That was seriously impressive, in terms of performance and simplicity. Way 
to go! Thanks for writing that up.
-Zack

On Tuesday, January 22, 2013 1:45:34 PM UTC-5, Aria Haghighi wrote:
>
> Hi all,
>
>   I've done a follow-up post on the Prismatic blog about our dommy, our 
> ClojureScript templating library. We added some macros to parse nested 
> vector data structures at compile time
> into direct DOM creation code. The resulting speedup is pretty dramatic 
> about 5x, bring ClojureScript templating to roughly 3x faster than a jQuery 
> baseline. This is a trick I know Hiccup and some other libraries do but I 
> thought it might be worth document/explaining this kind of application of 
> macros. 
>
>
> http://blog.getprismatic.com/blog/2013/1/22/the-magic-of-macros-lighting-fast-templating-in-clojurescript
>
> Thanks, Aria
>

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




Blog Post: "The Magic of Macros: Lighting-Fast Templating in ClojureScript"

2013-01-22 Thread Aria Haghighi
Hi all,

  I've done a follow-up post on the Prismatic blog about our dommy, our 
ClojureScript templating library. We added some macros to parse nested 
vector data structures at compile time
into direct DOM creation code. The resulting speedup is pretty dramatic 
about 5x, bring ClojureScript templating to roughly 3x faster than a jQuery 
baseline. This is a trick I know Hiccup and some other libraries do but I 
thought it might be worth document/explaining this kind of application of 
macros. 

http://blog.getprismatic.com/blog/2013/1/22/the-magic-of-macros-lighting-fast-templating-in-clojurescript

Thanks, Aria

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