Hi, On 31 Okt., 04:46, JCB <[EMAIL PROTECTED]> wrote: > 1) does Clojure maintain the CL notion of a "running image" (ACL > terms), or a "core" (sbcl terms)? > > For example, in ACL I can do (dumplisp), and I think sbcl has > something called (save-lisp-and-die) ..
I don't think so, no. > 2) Does Clojure have anything similar to fasl files? It looks right > now like the way to deploy a Clojure program is to deploy the source > (.clj) files and (load) them, is this correct? My guess for deployment would be to create a .jar file, which is distributed. The users put the .jar in their classpath and are able to load the library with require/use. For this to work the file layout has to follow the guidelines for namespace / filename translation, of course. I would use load only inside a ns to suck in different files for a namespace in case the implementation is split up. I would never use it to "load" a library. That's what require/use are for. To deploy a program one can create a Java class via gen-class, which contains a main function which "require"s the implementation of the program and starts the application running. In the MANIFEST.MF one can specify this class as Main-Class. So the user can do java -jar MyApp.jar to run the program. Just my 0.02€. Sincerely Meikel --~--~---------~--~----~------------~-------~--~----~ 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 To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---