3 ms·
Actually, having a generic way of saving the program state into an executable that then runs from that point could be really useful, and some Unix versions had
by _yosefk 11y ago
Actually, having a generic way of saving the program state into an executable that then runs from that point could be really useful, and some Unix versions had it (and Perl used a Unix utility called undump to implement a "Perl compiler" where it dumped core that could be "undumped" into a running program later; that's the same idea as "unexecing" program state into an executable.)
- protopete 11y agoI logged in to say the same thing. More info here: http://perldoc.perl.org/functions/dump.html http://perldoc.perl.org/functions/dump.html
- johntb86 11y agohttp://criu.org/Main_Page http://criu.org/Main_Page
- Freaky 11y agoAlso: https://www.dragonflybsd.org/cgi/web-man?command=sys_checkpoint§ion=2 https://www.dragonflybsd.org/cgi/web-man?command=sys_checkpo...
- Freaky 11y agoIt's notable that the Solaris unexec() implementation[1] is basically a thin wrapper around dldump()[2]. 1: http://git.savannah.gnu.org/cgit/emacs.git/tree/src/unexsol.c http://git.savannah.gnu.org/cgit/emacs.git/tree/src/unexsol.... 2: https://docs.oracle.com/cd/E19455-01/806-0627/6j9vhfmop/index.html https://docs.oracle.com/cd/E19455-01/806-0627/6j9vhfmop/inde...
- deleted 11y ago[deleted]