I'm a recent B.E. graduate looking to learn how to create my own operating system. What programming languages should I know, and what prerequisites are there for tackling this big project? I'd really appreciate your guidance on how to get started!
3 Answers
Creating an OS from scratch is a huge undertaking, so it's good that you want to learn! First off, you're going to need to be proficient in C or C++, and you'll also want to learn some assembly language. It might be daunting at first, but starting with a bootloader is a solid entry point. Just remember, it's okay to take your time and build your skills gradually!
You really need to understand the fundamentals of operating systems first. Familiarize yourself with how memory management, disk access, and CPU operations work. It would help if you also learn how to use makefiles and linker scripts. The journey to writing your own OS is a long one, but starting with the basics makes it manageable!
It's definitely a cool goal, but keep in mind it takes time and patience. Start learning C and get a grasp on how computers actually work. After that, try out simple projects like a basic kernel or a bootloader that just prints something on the screen. Achieving that is a big accomplishment in OS development!
Thanks for your suggestions! I’ll take it step by step.

Yeah, I agree! Starting with a bootloader gives you a nice foundation. Once you're comfortable with the basics, you can move onto memory management and interrupts. It's a lot to tackle, but you can totally do it!