On 13 February 2016 at 17:11, ru <soro...@oogis.ru> wrote:

> First thing that comes to my mind is MAXIMA Computer Algebra Program from
> LISP ecosystem. That is a system for the manipulation of symbolic and
> numerical expressions, including differentiation, integration and many
> other useful things. It will be  nice to have such a power in
> ClojureScript, is'nt it?


Honestly, I think you'd usually want to use macros for tasks like that.
There's a much higher incentive to use macros over eval in ClojureScript,
as although there are disadvantages associated with macros, they also allow
for a lot of precomputation. This is particularly important in a browser
environment, where ClojureScript is most often used.

On 13 February 2016 at 17:50, ru <soro...@oogis.ru> wrote:

> That I understand. Only one more question. Can I unload ClojureScript
> Compiler after I done with "eval"? This scenario is suitable very well to
> my task.
>

I don't believe you'd want to. The primary cost of including the compiler
for the browser is the time taken to download and execute the javascript. I
guess you could unbind the references and let it GC, but I don't think
there'd be much point in doing that.

- James

-- 
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/d/optout.

Reply via email to