octopusgrabbus <octopusgrab...@gmail.com> writes: > Is there any reason to compile a Clojure library with :aot?
Here's all the reasons I know of for doing AOT-compilation: - The code produces JVM classes with `clojure.core/gen-class`, which only produces any results when compiling. - The code needs to expose a JVM class as an entry-point for a JVM framework which expects to find and instantiate a class through reflection. (Usually in tandem with the previous case.) - One wishes to build and distribute source-less JARs of only the compiled code. Any I'm missing? An open-source Clojure library intended for use from Clojure might hit the first case, but I don't believe very frequently. -Marshall -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en