4 ms·
Shared Memory seems dangerous because you assume that both actors are behaving correctly. The reason why programs are isolated I always thought wasn't because p
by HaloZero 13y ago
Shared Memory seems dangerous because you assume that both actors are behaving correctly. The reason why programs are isolated I always thought wasn't because programmers were lazy but to ensure that a malicious or a badly written program can be contained.
- marcosdumay 13y agoWell, if that's the goal, it failed completely. If you run a malicious program once, it can spread to all your data. Isolation was a protection about badly written programs, but it was mainly about simplifying things and increasing the (virtual) memory available.
- renox 13y agoI think that shared memory is bad because it doesn't scale: once you've saturated your memory bus because you have too many cores that use it, then you need to have several memory buses and 'shared memory' doesn't seem so nice anymore..