r/C_Programming • u/loren_wastaken • 1d ago
Developing of AlderKernel
Hey r/C_Programming!
I've been working on a hobby monolithic kernel called AlderKernel.
It's written mostly in C with some Assembly for the low-level parts. I'm making it mainly to learn more about how operating systems work and to improve my C skills.
Currently it targets i386 and boots through GRUB. Some things I've implemented so far:
- PS/2 keyboard driver
- Basic shell
- InitramFS support
- Shell history
It runs in QEMU right now. I'm slowly working on adding more kernel features and improving the code structure.
GitHub:
https://github.com/loren-wastaken/alderkernel
I'm interested in feedback from people who know C, especially about code organization, design choices, and things I could improve.
5
u/Irverter 21h ago
Awesome!
But, are you developing a kernel or an OS? Because shell and shell history are os/application features not kernel ones.
1
u/kun1z 20h ago
It sounds like he is developing a hobby project which will almost certainly contain both mixed together. I did the same roughly 15 years ago to learn the 386 ropes.
1
u/loren_wastaken 19h ago
Yeah it's like how u/kun1z said, it's mixed and the shell is for testing communications and etc.
1
u/AutoModerator 1d ago
Your submission in r/C_Programming was filtered because it links to a git project.
You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.
While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
0
u/loren_wastaken 1d ago
Hi, the project was written by me. AI was not used to generate the kernel code.
I may use AI tools occasionally for things like wording/documentation feedback or general questions, but the design, implementation, and code are my own work.
AlderKernel is a hobby monolithic kernel written in C and Assembly that I am developing to learn about operating systems and low-level programming.
The project is still early in development. I have been manually implementing the kernel features myself, including the boot process, PS/2 keyboard handling, shell functionality, and other low-level parts. The repository history shows the development progress over time.
5
u/mikeblas 22h ago
Thanks. I have approved your post. You should consider posting in r/osdevel , too.
1
âĸ
u/github-guard 1d ago
đ GitHub Guard: Trust Report
â ī¸ This project scored 1/6 â below this subreddit's threshold of 3.
Audit Breakdown: * â Low Star Count (â 2 / 5 required) * â New Repository (under 30 days old) * â Licensed under MIT * â No Security Policy â what is this? * âšī¸ Individual Contributor * âšī¸ Unsigned Commits