Re: Compilation troubles...

2009-07-13 Thread Morgan Allen
> It's definitely not necessary to implement the bulk of your code in Java to > get performance. On the other hand, getting performance out of Clojure can > be tricky. Well, yeah, that's the thing- getting maximal performance out of clojure seems to require a degree of expertise and patience tha

Re: Compilation troubles...

2009-07-13 Thread Morgan Allen
> OK, cool. That is another benefit of AOT compilation. The primary use   > for :gen-class is when the Java side needs a class it can refer to   > explicitly by name. For other cases, a good way for Java to   > communicate with Clojure code is to use a proxy. On the Java side, you   > can define

Re: Compilation troubles...

2009-07-13 Thread Morgan Allen
> What is your development workflow that requires frequent manual   > recompilation? All Clojure source code is compiled "just in time" as   > it's being loaded and before it's run. What "ahead of time"   > compilation gets you is faster loading times and the ability to deploy   > in a "class file

Re: Compilation troubles...

2009-07-12 Thread Morgan Allen
> Note that no matter how you specify it, it must be in classpath and it   > must exist at the JVM used by Clojure is launched. Thanks again. > Absolutely. Note that you're compiling a namespace, not a file. Any   > namespaces you use or require while defining your namespace will also   > be co

Re: Compilation troubles...

2009-07-12 Thread Morgan Allen
Thanks for the info- it works just fine now. A couple of questions, though: 1- How would I change the 'classes' directory to something else? 2- Can I still use/require other files that haven't been compiled ahead of time? Much obliged. --~--~-~--~~~---~--~~ You