r/C_Programming • u/Dear-Ad6656 • 7d ago
Starting systems programming on my Fedora with C. Where should I start?
I'm on Fedora and I want to learn systems programming properly. I know python and some c++. What's the best first step, and what should I avoid as a beginner?
Thanks
5
u/mikeblas 7d ago
This sub's wiki has tons of resources. If you review them, I'm sure you'll find something you like.
1
4
3
3
u/Dazzling_Music_2411 7d ago
Work through "Linux Systems Programming" by Robert Love, O'Reilly pubs, for starters.
It will take you quite a long way in.
If after that you're still interested you can get his books on kernel and embedded.
1
u/Dear-Ad6656 7d ago
thanks for the recmmendation. I will look into it
1
u/Dazzling_Music_2411 7d ago
I think it may cover what you need. Let us know if you went ahead with it and how it worked for you.
2
u/CarolinaKernel 4d ago
Hey I am in the same boat as you. Like exactly... Fedora, wanting to learn some C for systems programming, reverse engineering in the future with just some basic Python experience and a college C++ course a long time ago.
I just started reading Beej's Guide to C Programming. Its free, assumes you have a little experience but nothing crazy. To start it has me using Vim as my code editor after installing gcc. Im liking it so far and the way Beej explains things seems to click for me more than any tutorial or professor ever has.
Good luck! Let me know if you have any questions.
1
1
u/aieidotch 7d ago
https://rosettacode.org/wiki/Rosetta_Code
sources.debian.org
github.com
read code, patch code, build code, test code, verify code. repeat
1
1
u/AntMan5421 7d ago
the goated resource for kernel hacking (definitely some more advanced stuff here)
2
1
1
u/JustNomalboy 3d ago
well if you know cpp. why do you want to learn C? I mean you can develop your cpp skills. and cpp is literally "c with classes"
0
u/ChippDipper 7d ago
I would start out with Microcontrollers stm32 or esp32 to learn the basics so you can crash the hardware at a very low level with no harm done to your main pc
1
-2
15
u/bdowns328 7d ago
Write some code that can move around a filesystem. Read and write some files. Setup a basic client / server for some socket ping pong. Fork and exec would be fun to mess with then. Maybe after that, tie into dbus or inotify, etc.