3 ms·
Could an approach like this (with caching the compiled binaries) potentially be a solution to the emacs dumping problem?
by NarcolepticFrog 10y ago
Could an approach like this (with caching the compiled binaries) potentially be a solution to the emacs dumping problem?
- kruhft 10y agoAs the author of this patch, and someone that's followed the dumping problem as well on the list, and someone that follows emacs development I would say that...no, this is not a portable solution to the problem that would be accepted. libjit does offer the ability to compile the code to a static vector that can be written to disk but that would then put machine specific code in the output .elc files making them unportable. Also, at this state with the JIT it's not possible yet to fully compile all of the emacs bytecode; there are still some lurking bugs that need to be squashed that I'll (or someone else) hopefully have time to look into in the future to get this to 100%.