Repository navigation
Where should CadenzaOS go next? #77
GlenMeehan
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone! CadenzaOS now builds on Zig 0.17.1 and boots to a shell on real hardware (one machine so far, a Dell OptiPlex 3020).
I'm fairly new to building an operating system from scratch, and this project has been an incredible learning journey. As a solo maintainer, I want to choose the next major milestone carefully, so I'd love an open discussion about the architectural trade-offs, not just a count of votes.
The candidates
1. A real file and process API, then a BusyBox-style toolset
Programs can currently print, read the keyboard and yield, and nothing else. This needs
open,read,write,close, directory listing, a small userland library, and a bigger filesystem (the root directory holds only about 20 entries).2. Ring 3 and memory protection
Per-task virtual address spaces and a proper syscall gate. It's the largest change on the list, and the one that would make the OS's security claims credible.
3. Behavioural security
Extend the existing Markov model from shell commands to per-program syscall patterns, with a planned "safe mode" that suspends anomalous programs. It builds directly on what exists, but until ring 3 is in place it can only flag anomalies, not contain them.
4. GUI / desktop
There's already a framebuffer and a mouse driver, but this also needs the program API (candidate 1), more memory management, and probably USB input.
5. Hardware breadth
AHCI first, then UEFI and USB. This decides how many machines can run CadenzaOS at all.
My current lean
1, then 2, then 3, because everything else depends on a real program API. I could easily be wrong, and I'd like to hear the case against.
Questions I'd love your views on
Getting involved
I'll make the final call, but I'll write up how the discussion shaped it. Comments, critiques and design ideas are all welcome, even if you never write a line of code.
If you'd like to contribute more hands-on, please read CONTRIBUTING.md and have a look at the issues labelled
good first issue.Where do you think we should focus next, and why?
All reactions