4 ms·
What's old is new again. Emacs has long done snapshots a bit like this, albeit in a hacky way[1][2] [1]: https://lwn.net/Articles/673724/ https://lwn.net/Artic
by dgl 2y ago
What's old is new again. Emacs has long done snapshots a bit like this, albeit in a hacky way[1][2]
[1]: https://lwn.net/Articles/673724/ https://lwn.net/Articles/673724/ (2016)
[2]: https://lwn.net/Articles/707615/ https://lwn.net/Articles/707615/ (2016) and discussion here: https://news.ycombinator.com/item?id=13073566 https://news.ycombinator.com/item?id=13073566
- dig1 2y agoJVM has a similar thing called appcds (https://docs.oracle.com/en/java/javase/17/vm/class-data-sharing.html https://docs.oracle.com/en/java/javase/17/vm/class-data-shar...) since JDK 10 and you can also use Criu (https://criu.org https://criu.org) for this, at least I used it for some JVM apps before. Don't forget that Common Lisp and Smalltak implementations have had this since the beginning of time :D
- jmaker 2y agoThere’s also OpenJDK Project CRaC (based on CRIU) and AWS Lambda SnapStart (leveraging CRaC).
- p_l 2y agoIBM J9 also had explicit support for sharing code heap between multiple applications, and there were ways to preload code into older Oracle JDK's than 10 by abusing iirc bootstrap classpath?
- lispm 2y agoLisp I in 1960 did this, too.