Question I don't know the answer to: is it possible for a single binary to not load the whole code into memory before executing? I know from video games that incremental loading is a really nice way of minimizing load screens. Usually using interpreted languages.
Maybe! But suspect it might already be happening at the OS level. Really curious how this works tho. Mmap perhaps?
-
-
AFAIK the OS can choose to swap out pages of memory to disk. IIRC Linux can drop code-part of process memory too, as its backed by an executable it can reload from. But that’s swapping out under memory pressure, not swapping in on-demand. I’m definitely rusty on the details.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.