git » homepage.git » master » tree

[master] / archive / forums / hacker-news / raw / items / 8961530.json

{"by":"BFay","id":8961530,"kids":[8963160],"parent":8956313,"text":"There&#x27;s some mention of clojure being used as a scripting language here that can be invoked with a shebang - does anybody know if the way this is done is any different (performance-wise) than compiling a leiningen project to an uberjar?<p>When I&#x27;ve tried using clojure for really simple things, like a &quot;Hello, World&quot; program, and compiled this to a jar to run with something like &quot;java -jar hello.jar,&quot; the time it takes to start up the program is pretty abysmal. I&#x27;d like to use clojure for something on the Raspberry Pi, but it can take about 30 seconds to run &quot;Hello, World!&quot;<p>Any secrets to getting it to start up faster, or am I just stuck?","time":1422469329,"type":"comment"}