4 ms·
No. Sharing code is good. Sharing memory bad.
by azaras 5y ago
No. Sharing code is good. Sharing memory bad.
- jjtheblunt 5y agoperfectly said!
- discreteevent 5y agoSharing memory is pretty easy when you have a garbage collector. Even if you have concurrency you can use messaging without having to put the communicating components into separate processes. And having separate garbage collected virtual machines wastes a lot of memory if you want to have enough headroom for performance in each one.
- pjmlp 5y agoNot when sharing memory is done over OS IPC mechanisms. Which is what you want if the application is to be resilient to crashes and exploits from dynamicallly loaded code.