Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: My microkernel-based OS built from scratch now has basic Unix commands (github.com/lux-operating-system)
69 points by jewelcodesxo 3 months ago | hide | past | favorite | 8 comments
This project contains no code from Linux, BSD, Minix, or any other OS. Everything up until this point is written entirely from scratch, including a pure microkernel (that only implements multiprocessor priority scheduling, memory management, and interprocess communication), a work-in-progress implementation of the standard C library, and a variety of servers that provide drivers and other essential OS functionality.

At the time of writing this post, the servers provide drivers for the keyboard, NVMe SSDs (that works on real hardware), a Unix-like virtual file system (with a single root mountpoint, /dev, /proc, etc.) and several other necessities. The main goal of this project is to research OS design and try to overcome some of the performance penalties associated with microkernels, while also building a general-purpose usable Unix-like OS on top of it. It's also intended to make the study of OS development and theory a little more approachable through self-documenting, clean, and readable modular code.




Great work, congratulations on going down the microkernel route.


This is quite a feat! I'm sure you learnt a lot along the way.


Thank you! I really did learn a lot and I'm still learning more as I continue working on this


This is awesome! Definitely going to look into this later.


Thank you!


Well done creating a system with a better architecture than Linux.

I know, it really is a low bar. Still, good job.


They are fixing it with containers all over the place. :)


It's dead, Jim.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: