clojure-dev

2025-09-26T14:25:22.497179Z

hey @alexmiller you've mentioned before that you use https://github.com/clj-commons/virgil when working on Clojure Core. have you ever written about that workflow? restarting my repl isn't hard but it's a little annoying.

Alex Miller (Clojure team) 2025-09-26T15:23:52.727619Z

I've never used virgil

2025-09-26T15:24:11.933799Z

oh? huh, I guess I was thinking of someone or something else

Alex Miller (Clojure team) 2025-09-26T15:24:24.032119Z

I do rely on Cursive's hot reloading though

👍 1
Alex Miller (Clojure team) 2025-09-26T15:24:59.897669Z

hot reloading the Compiler in a live repl is the best :)

☝️ 1
2025-09-26T15:25:13.111669Z

yeah, i bet it is

oyakushev 2025-09-26T19:47:05.434839Z

I use Virgil a lot. My workflow is simply doing doing (virgil/compile-java ["src"]) after editing Java files, amd then C-c C-k the namespace that imports those java classes and uses them. If the java classes usage in question is more spread out accross the project, it makes sense to reload with tools.namespace of clj-reload afterwards, but I personally don't use them, manual reloading of namespaces is enough for me.

cfleming 2025-09-27T02:03:25.333629Z

@alexmiller I recommend using JetBrains' Runtime, it includes the DCEVM extensions and allows for much more extensive code reloading.

Alex Miller (Clojure team) 2025-09-27T03:52:31.035589Z

not familiar with that, so I'll try it sometime. I have found the reloading support I've been using to be pretty great though, feels like I usually I can reload successfully