Closed jeroenvandijk closed 5 years ago
Very cool :+1: It will need some hammock time, but I think this will be a good basic block for implementing the speedup in the future.
I've put this work in a seperate repo and is now independent of Closh. (For some reason pomegrate doesn't work yet)
Closing the PR since it has been extracted into a separate project.
This is a proof of concept where a closh script is using an existing process to speedup boottime of the closh script (< 20-40ms). It's a bit messy, but it works.
Instructions
.closhrc
(clojure.core.server/start-server {:port 49999 :name "closh-server" :accept 'clojure.core.server/repl})