Re: Clojure for shell scripts

2012-05-20 Thread Edward Ruggeri
Thanks, guys! Thanks, Stu; that's an option. My limited experience with clojurescript has been that it takes sort of a while to compile cljsc files; it took me maybe 3sec to compile hello world. I'm sure this up-front cost is offset by savings at future invocations; but it isn't a superior alter

Re: Clojure for shell scripts

2012-05-20 Thread Roberto Mannai
Maybe this experiment could interest you (clojurescript as a plugin of gnome): https://github.com/technomancy/lein-gnome In general, if AFAIK the main performance issue is the jvm startup time and the loading of the clojure.core library, one first solution could be keeping a single background repl

Re: Clojure for shell scripts

2012-05-20 Thread Stuart Halloway
Hi Ned, I think the medium-term strategy likely to yield good results is for someone to put together a story around ClojureScript + advanced mode + V8. I know a few people have played with this, but I am not sure if anyone has gone so far as to package it up for easy consumption. Stu Stuart

Clojure for shell scripts

2012-05-20 Thread Edward Ruggeri
Hey everyone!, I know this is an old story. I've played with clojure, but the main thing that has kept me from never looking back is the startup speed. "Hello world!" in Java takes me .303s, but just "java -cp clojure-1.5.0-master-SNAPSHOT.jar" takes 1.989s (sending C-d to close the repl even be