Hacker News new | past | comments | ask | show | jobs | submit login

If I recall correctly, Emacs currently does this. During the build it (slowly) loads all of the elisp into memory and then dumps out the memory image of it after it’s all been compiled.

I’m a bit hazy on the details, but I think it involves calling unexec(). https://lwn.net/Articles/673724/

Edit: just noticed a sibling comment mentioned this too...




Only for built-in elisp, as part of the build process. User configuration (including packages) is reloaded from scratch on each start.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: