r/CodingForBeginners • u/politepinkpill • 17d ago
What is the best way to learn system-level programming?
I had some experience with C during my college days, but I never really did any projects that are worth mentioning. I know AI can write code, but I want to understand what is happening at the system level. As of now, Rust is too overwhelming for me, so I'm thinking of restarting with C. Any advices?
5
Upvotes
4
u/cvco210 17d ago
Highly recommend the book “Operating Systems: Three Easy Pieces”. You can buy a physical copy if you want, but it’s also free online. Covers a good breadth of OS concepts (with a focus on Unix-based systems)
3
u/KarmaTorpid 17d ago
Read a book. You will learn it well enough to begin building on your own. O'Reilly is a publiser who make programming and technology technical books. The books are white with a line art drawing on the covor of an animal (or something).
There are a TON. Check their website, Amazon, etc.
Do NOT just find the title of one of the books and Google that with filetype:pdf and just download it. Thats what a no good pirate would do.
🍀 Luck
2
u/W31337 17d ago
Build your own OS in a VM.... (one of those projects I'm wanting to do but never do)
2
u/gm310509 17d ago
When you say "system-level" what does that mean to you?
For example, does it mean:
for each element in list do:type of things?openorreadetc, how is this communicated to the operating system?openhow does the operating system manage that - e.g. how does the file system work, how does it manage and track your request etc?At the "system-level" is a pretty big topic and could include many different things - with many different approaches to start learning them.
Do you have much recent experience? If so in what language(s), how long and what type of things have you been doing recently?
2
u/BranchLatter4294 17d ago
If that's what you want to do, maybe write a device driver.
2
u/ThanOneRandomGuy 17d ago
Google
1
u/gm310509 17d ago
When you say "system-level" what does that mean to you?
For example, does it mean:
for each element in list do:type of things?openorreadetc, how is this communicated to the operating system?openhow does the operating system manage that - e.g. how does the file system work, how does it manage and track your request etc?At the "system-level" is a pretty big topic and could include many different things - with many different approaches to start learning them.
Do you have much recent experience? If so in what language(s), how long and what type of things have you been doing recently?
0
u/Traditional_Vast9419 14d ago
Rust isn't a systems language. The whole community literally brags about its abstractions.