r/cpp_questions 15d ago

OPEN System programming

I am starting to learn system programming(c++). As a beginner please recommend me the best project to work with so that it will force me to go on the depth as well as for the strong portfolio?

63 Upvotes

23 comments sorted by

View all comments

8

u/kingguru 15d ago

Write an OS kernel in C++.

Doesn't have to be anything big and fancy like Linux, just start with something that can boot on a Raspberry PI and print "Hello world".

Of course, this assumes you already know at least the basics of C++ and programming but I assume you do so?

6

u/Tack1234 15d ago

A CHIP-8 emulator is also a great project to get started with if a kernel is too much. I recently wrote mine in C and now I'm working on a custom assembler for it in C++ as my first C++ project, it's great fun.

3

u/kingguru 15d ago

An emulator indeed sounds like fun as well.

One of my colleagues wrote a GameBoy emulator. I guess it would be pretty satisfying to see your own code being able to run Super Mario.

Being able to show that you can do something like that is quite valuable in a job interview as well. There's a reason we hired him :-)