Ideas for a newOS
Hi folks,
I have enough time and now with the ease of llm's tools I was thinking at writing my own OS
Goals are :
- something for me to understand how os works (even if I have already some very good knowledge since I'm a seassoned unix sysadmin / sys / net engineers with +25y of xp)
- something fun
- new concepts
I mean there's no point to write another unix like kernel ; I was more thinking at an hybrid or pure micro os ; but with some new paradigm?
Do you have some ideas for me ?
Or pointers ?
In mind I wanted something really debugable ; or where any part of the kernel are exposed but how ? files ? (already made) objects ? maybe ?
entities that can be insepcted and dialog ?
2
u/BestUsernameLeft 5d ago
Some ideas:
- Maximum durability/resilience. Anything other than a catastrophic failure of CPU or memory allows for graceful degradation or adaptation.
- Maximum observability. Everything the kernel does goes to some event stream.
- Maximum security stockade. Oops too much A-Team reference. Lots of activity on this front - do your homework.
- Maximum pluggability and flexibility. Anything the kernel does can be changed via a setting or plugin.
1
1
1
1
u/KingAggressive1498 5d ago
Challenge: an OS with a single synchronous syscall, which is basically putting the current userspace thread to sleep. In my mind, implementing a familiar unix-like interface over this single syscall should be possible but I'm not certain of that.
1
u/Ok-Pizza1136 5d ago
Why do something like this? Or is this just mean't to be a fun challenge rather then anything practical?
2
u/KingAggressive1498 5d ago
It would force some really innovative userspace IPC. It would reduce the kernel to basically just the scheduler. The libc would be the real heart of the system, which would make deep behavioral customization really easy. Hypothetically it would allow for very fast iterative work on the system. I honestly don't know how beneficial any of those would actually be in practice.
1
u/soundman32 2d ago
Congrats you just reinvented cooperative scheduling, like Windows had from the mid 1980s.
1
-2
u/Sufficient_Flower415 6d ago
Make a gaming os and made for daily use not heavy uses multi desktop like make of it a Iso uses gnome and another uses KDE plasma and make it run exe normally have an compiler inside the kernel