Do we really need swap on modern systems?
I wish we took the path of EROS [0] rather then &quot;RAM and DISK are seperate&quot;. A lot of problems stem from that incompatable viewpoint of computing. Computer Science is about hiding complexity under lays of abstraction that continualy provide safer states and constraints on the things built on top of them. Our abstraction that RAM and DISK are seperate is not safer nor does it provide constraints that are simple to navigate. Thinking about this the other way, where DISK is all you need and memory is just a write-through cache, is much safer in my opinion and leads to some really cool application design.<p>If RAM and DISK are the same, then writing a file system is just writing an in-memory tree. No need to pull data from the disk, just navigate the tree in your program&#x27;s memory and pull the blob data out. Want to persist acorss reboots, protect against power outages, or save user settings? Just set a variable and it&#x27;ll be there.<p>The benifits are much better then the costs.<p>[0] - <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20031029002231&#x2F;http:&#x2F;&#x2F;www.eros-os.org:80&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20031029002231&#x2F;http:&#x2F;&#x2F;www.eros-o...</a>