Re: Does Clojure has a compiler

2010-08-26 Thread Tom Faulhaber
As the other posters mention, Clojure does have a compiler. However, you don't always need to use it explicitly. Clojure will compile all input before executing it and once it's compiled it runs with the exact performance it would if it had been compiled ahead of time. There's no interpreted laye

Re: Does Clojure has a compiler

2010-08-25 Thread Robert McIntyre
Yes, clojure has a compiler that can compile directly to class files. There's more information here: http://clojure.org/compilation and a short demo that you can try here: http://www.rlmcintyre.com/iassac-gouy.tar.bz2 or http://www.bortreb.com/iassac-gouy.tar.bz2 --Robert McIntyre On Wed, Aug

Re: Does Clojure has a compiler

2010-08-25 Thread Sean Corfield
On Wed, Aug 25, 2010 at 7:17 PM, HB wrote: > Both Groovy and Scala have a compiler to produce class files. > Does Clojure has a compiler? Yup. See the recent thread called "AOT compilation newbie mistakes" for both the way to do it and some of the issues you may run into. Several people prefer u