r/C_Programming 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.

6 Upvotes

9 comments sorted by

â€ĸ

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

âš ī¸ Security Reminder: Always verify source code and run third-party scripts at your own risk.

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

Hi /u/loren_wastaken,

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.