Why not build operating systems as layers?

https://news.ycombinator.com/item?id=30877938
by an-selm • 4 years ago
3 3 4 years ago

Disclaimer: I am not a professional programmer, nor am I very well-versed in OS theory. Nevertheless I have the following question: Why do people still build OS's from scratch, and dont just use the base system and wrap it in an OS of their liking? For example, mezzano a lisp OS is, it seems to me, pretty much built from scratch. Why do these guys not just build a lisp OS on top of some UNIX-system, so that every call to the OS goes through that layer? As an example: Some people complain that UNIX files are essentially just a lot of text, with not much further information. Why not just write an additional layer that uses those files as the base but also stores more information about them somewhere? Maybe it would be too slow, or maybe some system calls cant be passed through an additional layer. Or maybe I am not seeing something immediately obvious to any professional. But I feel like I am probably going to learn something from the answer, so I will just go ahead and ask.

Related Stories

Loading related stories...

Source preview

news.ycombinator.com