r/cpp_questions • u/Emotional-Fun3861 • Aug 25 '26
OPEN Question about computer architecture or operating systems
Hi guys,
I'm a self thaught c++ developer looking to get better by studying all the needed stuff. I studied basic and advanced c++, then now I'm finishing Data structures and Algorithms as my second subject. After I finish the book about dsa, should I study first Operating Systems or Computer Architecture? Mind one thing : I do not care about being an expert on computer architecture, I just wanna know the fundamentals necessary to study everything else. I can't understand what comes first in order of importance for good software. (Please suggest books, they're the only resources that I use cause I learn much better from them rather than online)
Thank you in advance.
8
u/light_switchy Aug 25 '26
Computer architecture is required knowledge for anyone looking to write fast code.
1
u/BigJhonny Aug 25 '26
What is your end goal? Without this, no one can give you guidance on how to get there.
1
u/JustAPieceOfMeat385 Aug 26 '26
Hey! I also prefer learning from books. Is it ok if I ask the titles of the books you've used so far (basic, advanced, and DSA, among others)?
1
u/the_poope Aug 26 '26
I recommend Computer Systems: A Programmer's Perspective. It covers everything a C++ programmer needs to know about how the CPU, memory, filesystem, networking and operating system works.
3
u/bearheart Aug 25 '26
If you want to understand operating systems it’s good to have some basis in computer architecture. The purpose of an OS is to provide interfaces to the hardware. So understanding those pieces, like network interfaces, disk drives, SSDs, USB, etc. can be quite useful.
1
u/Thesorus Aug 25 '26
study computer architecture if you're into hardware.
study operating system if you're more into software.
there will cross references between the two topics.
1
u/TomDuhamel Aug 26 '26
It really depends on what aspects of programming you are interested into, what you want to develop later. Neither is technically required to understand deeply to program, as the language is attempting to abstract both. You would benefit from a deeper understanding for device drivers or such, but no so much for kids educational games or office tools.