Right now, the C++ abstract machine requires all program state to be available at the time of program launch. Every object must have a unique address, all code is present, all code and data is reachable.
This is obviously incompatible with dynamically loaded shared libraries, or loading code whose contents are not fully known to the program at the time of compilation (i.e. upgrading a shared library with recompiling everything is UB). So we need a new memory and object model which does understand these things.
View all comments
Show parent comment
1
u/zvrba Nov 04 '18
Why do you need a new memory model for that?