Location of generated class files when used in clojure repl

When I enter (use 'some.namespace)into Repl, the corresponding clojure file is compiled and loaded. Are compiled class files stored in the file system or are they only in memory? Repl is launched from the command line, the editor / IDE is not involved.

+3
source share
1 answer

When you usenamespace, class files are not generated anywhere that I know of. Only time class files are created if you explicitly compile your AOT code, and most of the time you do not need to.

You can learn more about compilation here: http://clojure.org/compilation

+2
source

Source: https://habr.com/ru/post/1756144/


All Articles