4 ms·
Cant you just have a system clojure process started up and then fork from there?
by dman 8y ago
Cant you just have a system clojure process started up and then fork from there?
- pron 8y agoForking, in general, is not a very safe operation when the process is an elaborate one, like a JVM. It may, however, be possible to have Graal compile the Substrate VM image for Clojure after the initialization has been done, dumping the initialized state to the image, and then just loading it on launch. This may be the solution chosen once Graal matures a bit, and people learn how to use it well.
- pmarreck 8y agoForking is easiest and safest in a functional-data-structure immutable language (where it's basically trivial). Mutable languages? Not so much.