3 ms·
for those of us who aren't familiar - what's the emacs startup hack, and why is is detrimental?
by beaconstudios 10y ago
for those of us who aren't familiar - what's the emacs startup hack, and why is is detrimental?
- predakanga 10y agoThe emacs startup hack is in it's use of a glibc function called "unexec", which essentially serializes the program's state into a single binary which can later be executed normally. One of the big downsides (and the reason it became well known) is it's lack of portability, as it requires in-depth knowledge of the system's memory structures. LWN article and previous HN discussion: https://news.ycombinator.com/item?id=11001796 https://news.ycombinator.com/item?id=11001796 Somewhat lower-level article that shines some light: http://emacshorrors.com/posts/unexecute.html http://emacshorrors.com/posts/unexecute.html