News for hackers. Stuff that matters.
Re:Try Clojure by geokon on Thursday May 23, 2024 @12:14AM (#40450389)
Why can't you do some JVM equivalent of memcopy/execve the starting state of the program?

Isn't the initialization procedure (or at least the vast majority of it) exactly the same at each run ?

Re:Try Clojure by pron on Thursday May 23, 2024 @04:24AM (#40452030)
That's pretty much the idea behind Project Leyden's "premain" work. The tricky bit is that the program startup being almost exactly the same each time isn't quite the same as being exactly the same. The JVM already caches some things and the capabilities of that mechanism are being expanded to cover more, including JITted code as well as some program computations done at initialisation.