|
|
|
|
|
by tenfingers
3798 days ago
|
|
Approaches similar to unexec() are quite common in lisp-like environments, so emacs doesn't come as a "surprise" here. There's no reason emacs needs to use the glibc's malloc implementation though, especially given emacs has it's own built-in (and probably neglected) malloc for other platforms. |
|
"According to Paul Eggert, making unexec more portable has been on the to-do list for a while, "and this will light more of a fire under it". Concerns that Emacs might not build using a new Glibc API (which has not even been written yet) that came up earlier in the thread are not a problem, he said. "Emacs should still build and run even if the glibc API is changed, as Emacs ./configure probes for the glibc malloc-related API and falls back on its own malloc implementation otherwise.""
And there's the dreaded autoconf doing it's job.