clojure-from-java
clojure-from-java copied to clipboard
To AOT or not to AOT?
-
Can I ship clojure already compiled, and later decide to override the namespace, say using a file/string from a DB? That would allow us to start up quicker (I'm guessing), but still have flexibility (dynamic deployment). Currently we have a bunch of drools files that do this, and considering clojure/clara instead.
-
Our use case would be a bunch of clojure files (namespaces) that implement a common interface. I figured we'd wrap the basic clojure functions in a Java interface, but are you suggesting that it's better somehow to have clojure implement the java-based interface?
PS. Thanks for this example, and you answered my question with the static block {} (caching IFn) I posted on your other project 👍