Saving a snapshot is pretty much exactly how the sysimg that is shipped with Julia is built.
in the Makefile and the contrib/generate_precompile.jl
is what we put into the sysimg:
Where the REPL gets started, a few things gets evaluated and some Pkg commands are run. Then a snapshot of that is saved.
4 Likes