3 ms·
So this is basically the emacs startup hack? Ugh.
by ianlevesque 9y ago
So this is basically the emacs startup hack? Ugh.
- matttproud 9y agoI was just going to remark, those that don't know history are doomed to repeat it.
- Klathmon 9y agoWhat's wrong with the emacs startup hack that makes it something that's not worth repeating (and improving upon)? To me it seems like a fantastic way to improve startup time regardless of language or ecosystem.
- beaconstudios 9y agofor those of us who aren't familiar - what's the emacs startup hack, and why is is detrimental?
- predakanga 9y 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