Plug in Memory Mgmt

A shared library essentially has several parts — code and data. Assuming the code is not writable (which is normal these days) then the code part can be shared so only needs to be loaded once, no matter how many applications use it. The instance data has to be loaded separately for each instance because the data (generated sound!) is obviously going to be different for each instance.

This is generally handled by the operating system.

1 Like