The best answer, given the specific opposite edges you have broadly specified, is
https://redox-os.org/ https://redox-os.org/It's funny because I want this when I write applications. Each library should run in its own sandbox, and by default they shouldn't be able to touch each other's data.
[0]: https://www.cl.cam.ac.uk/research/security/ctsrd/cheri/
[1]: https://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-949.pdf
https://learning-0mq-with-pyzmq.readthedocs.io/en/latest/pyzmq/patterns/pair.htmlRedox has delivered these existing ideas in a manner that will soon enough be (if not already) suitable for production use and available to package for casual non-hacker users. If there is another project that has also done this in a non-academic way, I'd like to see it.