The Emacs dumper dispute
The Emacs dumper dispute
Posted Dec 1, 2016 4:55 UTC (Thu) by zblaxell (subscriber, #26385)In reply to: The Emacs dumper dispute by jlargentaye
Parent article: The Emacs dumper dispute
I am completely mystified about why the second half of the article isn't
"...so we spawn a second thread in main() which emulates exactly the terminal IO model Emacs was designed for. Every 16.7ms, this thread takes a snapshot of what Emacs has written on its frames so far, renders the text in a backbuffer, and swaps buffers with the display frontbuffer (unless the frames haven't changed and we don't have any Expose events to deal with). Emacs updates its frames whenever the hell it wants and nobody bothers Emacs to do anything it doesn't want to. Then we walked through all the #ifdef five-toolkits mess and just deleted it. You're welcome."
In this century we have smartphones that can render a screen full of text faster than the monitor refresh rate while digitally emulating in real time the electron-beam distortions that text would encounter as it passes through the analog electronics of a vintage 1980's CRT. It sounds like this Emacs hack is solving the problem the Emacs way instead of the sane way.
I suspect the solution to the mystery is going to be another level of mystery (I think the first level of that might be "OK so threads and unexec don't get along well, but why did anyone think unexec was the best of several potential alternative solutions, even at the time?"), recursively descending until one of us shouts "you people are crazy" and storms out of the room.
the sort of thing that could give vi a definitive advantage in the interminable editor warsThis is a serious misunderstanding of the editor wars. The alternative is not the other editor. The alternative is downgrading glibc.
