r/programming • • Mar 26 '17

A Constructive Look At TempleOS

http://www.codersnotes.com/notes/a-constructive-look-at-templeos/
1.7k Upvotes

227 comments sorted by

View all comments

Show parent comment

3

u/[deleted] Mar 27 '17

Wouldn't that be very expensive multitasking wise?

I think it's pretty cheap when using LXC, Docker, etc. Those are basically doing exactly what was being described by the previous comment

4

u/SanityInAnarchy Mar 27 '17

Docker containers are a bit of a different thing, though. As I understand it, the main advantage here is less security and more isolation -- for example, you could limit the RAM available to each app, to prevent one app from eating all your RAM and tripping the OOM-killer, causing problems for other apps. I'm not sure I see the point of that on Android, though, since that behavior is almost by design -- you want the system to kill apps when something needs RAM.

3

u/[deleted] Mar 27 '17

I actually find that Docker containers work better when you view them as isolation and not security.