Re:Command-line apps with Clojure and GraalVM: 300x better s...
by dman on Friday July 20, 2018 @01:39PM
(#17577135)
Cant you just have a system clojure process started up and then fork from there?
[ Parent
| on HN ]
Re:Command-line apps with Clojure and GraalVM: 300x better s...
by pron on Friday July 20, 2018 @01:43PM
(#17577169)
Forking, 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.