SamyPesse/How-to-Make-a-Computer-Operating-System
SamyPesse/How-to-Make-a-Computer-Operating-System has 22,399 GitHub stars and 3,438 forks. GitHot measured -1 stars in 24 hours. Last checked 2026-11-07 09:23 UTC. Last push 2021-12-16.
How to Make a Computer Operating System in C++
Measured star growth
- in 24h
- -1
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalHow to Make a Computer Operating System
Online book about how to write a computer operating system in C/C++ from scratch.
Caution: This repository is a remake of my old course. It was written several years ago as one of my first projects when I was in High School, I'm still refactoring some parts. The original course was in French and I'm not an English native. I'm going to continue and improve this course in my free-time.
Book: An online version is available at http://samypesse.gitbooks.io/how-to-create-an-operating-system/ (PDF, Mobi and ePub). It was generated using GitBook.
Source Code: All the system source code will be stored in the src directory. Each step will contain links to the different related files.
Contributions: This course is open to contributions, feel free to signal errors with issues or directly correct the errors with pull-requests.
Questions: Feel free to ask any questions by adding issues or commenting sections.
You can follow me on Twitter @SamyPesse or GitHub.
What kind of OS are we building?
The goal is to build a very simple UNIX-based operating system in C++, not just a "proof-of-concept". The OS should be able to boot, start a userland shell, and be extensible.

Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,823 starspublic-apis/public-apis
A collective list of free APIs
497,060 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
441,384 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,155 stars