Removing support for Emacs unexec from Glibc
Removing support for Emacs unexec from Glibc
Posted Jan 29, 2016 8:08 UTC (Fri) by iabervon (subscriber, #722)In reply to: Removing support for Emacs unexec from Glibc by neilbrown
Parent article: Removing support for Emacs unexec from Glibc
The TeX implementation is much like the proposed approach of making a big data table out of what has been loaded in temacs, although that's less special in Pascal (what TeX is written in) than C. In Pascal, you can't have storage which can be cast between pointers and non-pointers, so TeX pretty much doesn't use pointers and instead has indexes into a large integer array; dumping that array and loading it into a different process isn't nearly as messy as trying to save a C heap with pointers or transforming a C heap into an array without pointers.
Posted Jan 29, 2016 8:19 UTC (Fri)
by andresfreund (subscriber, #69562)
[Link]
Removing support for Emacs unexec from Glibc
On the other hand, these arrays cause other major problems. Fun like "TeX capacity exceeded, sorry [number of strings=245828]" etc...
