$ time java -jar clojure-1.4.0.jar -e '(println "Hello world")'
Hello world
real 0m4.586s
$ time python clojure.py -c '(py/print "Hello world")'
real 0m14.690s
$ time mono Clojure.Main.exe -e '(println "hello world")'
hello world
real 0m4.843s
/* clojure-metal is not tested due to not being written at the moment */
Clojure的啓動時間很少,就像我運行Perl或Python腳本一樣?啓動時間很慢是底層框架還是Clojure的問題(可以早晚修復)還是設計?任何Clojure實現能夠快速啓動嗎?
注意:我已經知道啓動持久服務器而不是連接到它的解決方法。
我的系統上的AOT Clojure的JAR採取只需要1秒 – Ankur 2013-04-10 04:14:46