Reputation: 10850
When I enter (use 'some.namespace)
in the Repl, the corresponding clojure file is compiled and loaded. Are the compiled class files stored on the file system, or they only reside in the memory? The Repl is started from the command line, no editor/IDE is involved.
Upvotes: 3
Views: 189
Reputation: 32625
When you use
a namespace, no class files are generated anywhere that I know of. The only time class files are generated are if you explicitly AOT compile your code, and most of the time, you won't need to.
You can learn more about compilation here: http://clojure.org/compilation
Upvotes: 2