TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Evolutionary Operating Systems?

2 pointsby pc2g4dalmost 3 years ago
I can&#x27;t help but notice the similarity between an OS instance and an organism. It has a boundary and defenses (firewall), various ways of interacting with its environment (network), it has resources and &quot;organs&quot; of its own (processes, RAM, nonvolatile storage) etc. The instances don&#x27;t (yet) themselves reproduce, but are cloned ad infinitum.<p>The metaphor goes further when recognizing that computer &quot;viruses&quot; infect these &quot;organisms&quot;, commandeering their capabilities for propagation.<p>What if we treated an OS instance more fully like an organism, and allowed it to evolve and &quot;fight&quot; for its survival? Could it become more secure by virtue of its survival being on the line?<p>What if OSes could reproduce sexually?<p>I know this is getting weird but... we use genetic algorithms to evolve solutions to problems.<p>Is there a place for evolving the operating system itself?

1 comment

smoldesualmost 3 years ago
Well, the biggest problem is that Operating Systems need a common interface to share software&#x2F;application&#x2F;service support, generally. Allowing a &#x27;Cambrian Explosion&#x27; of Operating Systems would present a problem where we don&#x27;t have common software, and everyone&#x27;s development efforts are strewn all over the place. What you&#x27;re really describing is the world of alternative Operating Systems, of which there are many cool things to check out (Fedora Silverblue, HaikuOS, Free&#x2F;Open&#x2F;NetBSD, etc.) Most of these platforms share a degree of API support (however faint that support may be), which allows them to try extremely experimental things while retaining a large amount of software support.<p>If your question is &quot;what do mutations&#x2F;evolutions of modern OSes look like&quot;, look at the ongoing friendly competition between Guix and NixOS. Both OSes have radical features like declarative configuration and generational base systems, but they go about implementing them in different ways. Two species of the same genus, two families with similar religions. Similarly, the BSDs have a lot of cool things that completely stray from Unix&#x2F;Linux spec, and their own strange internal conflicts&#x2F;rivalries.