The extreme version is to reproduce a step from building Emacs where you produce a binary with the libraries you want already loaded into memory. This is like making a lisp-image except the image also includes a big C text editor
Doing this requires various security features that operating systems have gained since the 1980s to be turned off so it’s not super advisable if you can avoid it