3 ms·
According to some of these reasons every library should run in its own process too.
by amelius 2y ago
According to some of these reasons every library should run in its own process too.
- sujayakar 2y agothat's roughly what the wasm component model is aiming for! https://hacks.mozilla.org/2019/11/announcing-the-bytecode-alliance/ https://hacks.mozilla.org/2019/11/announcing-the-bytecode-al...
- sunshowers 2y agoI think the difference is that misbehavior isn't as expected of libraries as it is of tests. But yes if your libraries are prone to misbehavior, it's common to compartmentalize them in separate processes.
- CJefferson 2y agoHonestly, I often feel that’s the world we should be heading to. Why should my zlib have any access to my programs memory, other than an input and output buffer?