Russ Cox wrote:
Shared libraries would help a lot here.
That's one option.
There were linkers written, long ago, that would extract only the code
from a library that was used by a program, and the binary got pretty
compact. You got almost as good an effect as if you had compiled the
program with the shared library source. Wonder how much this would help?
People got pretty smart back when 256KB was a lot of memory.
Shared libraries are going to need mmap() or a thing like it. Is the
seg() stuff enough like mmap()? I've never tried it out. Is it worth it?
How messy will things get once that goes in?
ron