Re: [ClojureScript] Re: [ANN] Planck 1.5

2015-08-16 Thread Mike Fikes
On Sunday, August 16, 2015 at 7:27:42 PM UTC-4, nchurch wrote:
> Speed is one use case for having the compiled script; another is 
> distribution.  A lot more people are apt to have nodejs installed than 
> Planck, so it might still be nice to have the compiled js in one file (that 
> you would presumably get from a command-line option from Planck?).

I suppose if you have ClojureScript that only makes use of, say, core 
namespaces, then that ClojureScript could be compiled and then executed in any 
JavaScript engine.

But, on the other hand, if your code makes calls into any of the planck.* 
namespaces (in order to do file I/O, shell out, etc.) then you need the Planck 
native runtime present.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: [ANN] Planck 1.5

2015-08-16 Thread nchurch
Speed is one use case for having the compiled script; another is distribution.  
A lot more people are apt to have nodejs installed than Planck, so it might 
still be nice to have the compiled js in one file (that you would presumably 
get from a command-line option from Planck?).  

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


Re: [ClojureScript] Re: [ANN] Planck 1.5

2015-08-16 Thread mikefikes18
There is an issue on the plate that would effectively give you what you want 
with Planck: https://github.com/mfikes/planck/issues/58



> On Aug 16, 2015, at 5:03 PM, nchurch  wrote:
> 
> Are there any plans to compile scripts?  Of course you can run compiled 
> clojurescript with node, but the code has to be different in general (e.g. 
> for shell-out).  It would be really nice to develop with Planck and then 
> compile when you need a faster startup time. 
> 
> Thanks for a great package!
> 
> -- 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> --- 
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.


[ClojureScript] Re: [ANN] Planck 1.5

2015-08-16 Thread nchurch
Are there any plans to compile scripts?  Of course you can run compiled 
clojurescript with node, but the code has to be different in general (e.g. for 
shell-out).  It would be really nice to develop with Planck and then compile 
when you need a faster startup time. 

Thanks for a great package!

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.