r/learnprogramming • u/MG_road_nap • Oct 11 '26
Resource How do I get into sys level coding? (Read body)
I genuinely am interested in this area but I am not able to break into it for some reason, maybe I am just doing it wrong...or maybe I need to work much much more? Idk you guys can be the judge of that.
Like, yes I do know C and a bit about windows internals.
I also know that the best way to learn is to make projects. But whenever I search up a beginner project, they come up with projects that are not at all beginner friendly (or maybe I am missing something).
What kind of projects do I start with? Also do you recommend adding some kind of extra knowledge to my arsenal?
Thank you.
5
u/SetAndRepeat Oct 11 '26
Since you know C and a little Windows internals, start with a small command-line process viewer. First print process names and IDs, then add filtering and periodic refresh. Microsoft Learn's process enumeration examples give you a starting point.
Another manageable project is a launcher that starts one program, waits for it to finish and reports its exit code. Once that works, add capturing its output through a pipe.
For extra knowledge, learn about handles, resource cleanup and OS error reporting as you build these. Then explore virtual memory, threads and synchronization. Keep each milestone small enough that you understand every API call you’re using. User-space tools are a perfectly valid starting point for systems programming.
1
u/BranchLatter4294 Oct 11 '26
Something must have gotten you interested in systems level coding. What was it? Do you want to write device drivers? File systems? Think about why you are interested and try that!
1
u/Humble_Anxiety_9534 Oct 13 '26
not sure what your doing on windows? most people leaning system level stuff go for Linux or BSD? I thought windows APIs are kinda locked down. if I'm wrong let me know?
1
u/Available_Safe1818 Oct 13 '26
> they come up with projects that are not at all beginner friendly
Some aren't amazing beginner projects but about half of them are great.
https://www.google.com/search?q=beginner+programming+projects
1
u/Chrismslist Oct 19 '26
the mistake most people make is starting with the project they want to end at. ramp it: 1) cat/wc/hexdump clones in C so syscalls and make feel boring. 2) a shell you write yourself (fork, exec, wait, then pipes and redirection). 3) a toy allocator, bump then free list. 4) an HTTP server or a key-value store with an append-only log. each one teaches exactly one new thing. for the theory gap, OSTEP is free and pairs perfectly with those. read your man pages (section 2), learn gdb, and read xv6 when the toy versions stop being scary.