4 ms·
emacs and some of the TeX programs worked that way. Maybe they still do. I haven't looked at that in a quarter century. To elaborate: the programs would do all
by jws 13y ago
emacs and some of the TeX programs worked that way. Maybe they still do. I haven't looked at that in a quarter century.
To elaborate: the programs would do all of their initialization and loading of things that would be used in any run, then dump themselves. The result of undump was an executable that had already done all of its boilerplate loading and was ready to process its arguments and inputs. It was bigger, since it had a bunch of heap stored, but it was better than hammering away on your CPU at 1 million instructions per second.
- stox 13y agoGlad to see someone beat me to this comment. Emacs would have had a startup time measured in minutes were it not for this.
- eliasmacpherson 13y agoThat's pretty cool. Is there a way of making a java program do this? The JVM startup time on a desktop kills me.
- judk 13y agoJava Web start or similar. It was called TSR in the DOS world "terminate and stay resident".