Ash Ra Template uses ShimDandy to provide a completely isolated Clojure evaluation environment to
.art templates. On contemporary fast CPUs, from
(vivid.art/render) it takes say 1 second before actual template evaluation begins; this time is wholly accounted for by ShimDandy doing its thing. Have 10 templates? Then rendering will take 10 seconds just for setup. As this less-than-ideal state of affairs represents ART version 0.4.0, let’s code-name that release “Mood Killer.”
Ideally, ART would be technically capable of rendering 1000s of templates per second on the same hardware, measuring just render setup and tear-down time. Now that we are in serious planning for the next version of ART (0.5.0), we seek performance improvements.
Specifically, templates will have the option to be evaluated within what appears to them as a completely initialized Clojure environment, with no namespace pollution. Is there a faster way than ShimDandy? Let’s see if we can give this next release the codename “Dream Machine!”