This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-22
Channels
- # 100-days-of-code (1)
- # beginners (51)
- # carry (1)
- # cider (10)
- # clojure (71)
- # clojure-conj (4)
- # clojure-dev (9)
- # clojure-italy (3)
- # clojure-nl (2)
- # clojure-russia (8)
- # clojure-uk (16)
- # clojurescript (42)
- # cursive (4)
- # datomic (2)
- # emacs (8)
- # figwheel-main (7)
- # fulcro (20)
- # hyperfiddle (5)
- # jobs (2)
- # off-topic (16)
- # om-next (4)
- # onyx (9)
- # powderkeg (1)
- # re-frame (8)
- # reagent (17)
- # reitit (41)
- # robots (6)
- # rum (1)
- # shadow-cljs (54)
- # testing (3)
- # tools-deps (19)
I assume the main use case of compile is a script which compiles all the namespaces of a particular app, at least that’s how I’ve always used it. In that case you definitely don’t want n! compilation.
You get that benefit by checking for .class files in *compile-path*
too though I think
ns and class are not 1-1 so I think that’s harder than it looks
or rather clj file and class are not 1-1
Namespace would be I think? Although extra files could appear if the ns has changed.
I think the requirement to have *compile-path*
on your classpath was clever, but ultimately not the best idea. from the last time I went back and read Rich’s irc comments around this time, a lot of things done with aot were experiments, some that stuck maybe too early.
I don't think it's a hard requirement, but I haven't checked. I've successfully done aot without following that.
yeah, there are some really subtle things about it