Robert Pluim <rpluim(a)bigfoot.com> writes:
Here's a (possibly insane) suggestion: rather than dumping, why
don't
we compile the lisp files to C? We could then make select portions
dynamically loadable, and remove all that unportable dumping code.
This was Kyle's original plan. Olivier thinks it better to write the
raw data directly to a file that you can mmap in (i.e. skip the
compile stage).
A middle road would be to write to an elf .so object directly so you
can use the dynamic loader to get it back in.
The first thing you need for this are pointers that are truly
pointers, which is why minimal tag bits were invented. With the effects
of also increasing the range of integers and (with the current naive
allocator) a 50% memory overhead.
Jan