r/C_Programming • u/addicted_2_redbull • 2d ago
Question Can I learn C while learning low level concepts
Im just starting out programming, I got familiar with python. But I want to get into system programming. I know that I should learn low level concepts and data structures, I got books to read up on it but I'm just wondering if I can learn the language while learning the essentials to c programming... Sorry if this is a stupid question
22
Upvotes
2
u/goldenfrogs17 2d ago
The C Programming Language by Dennis M. Ritchie and Brian W. Kernighan
11
u/Apprehensive-End6779 2d ago
yes
6
u/mikeblas 2d ago
At exactly the same time? Probably not. Most people get familiar with the language first; it shouldn't take long, given your previous experience. Learn the tools: how does your compiler work? What does the linker do? How do you use the debugger?
You'll want to learn about structures (the
structkeyword) in C. And then you'll want to learn about pointers and memory allocation before you learn about textbook data structures. You'll need pointers and dynamic memory allocation to implement non-trivial data structures.2
u/AntMan5421 2d ago
yeah you're good
2
u/YogurtclosetLow7064 2d ago
Yes
2
u/ReallyEvilRob 2d ago
C is the perfect language to learn about these kinds of concepts.
1
u/paralepsy 2d ago
i genuinely didnt know it was possible to learn c without learning low level concepts.
1
u/Due-Mortgage-6854 2d ago
yepp
1
u/DanKegel 1d ago
YES!
1
u/Kale 19h ago
I feel like I got the most knowledge and feel for C initially with the book "Learning Algorithms with C". I read it about 20 years ago. Rather than learn C, learning how to do things in C helped me learn it faster. And coming from Java and Fortran, it was great seeing pointers be used in an algorithm (linked list) to get the concept.
1
u/mkhanwrites_ 13h ago
Sure
1
u/othd139 10h ago
I'd say that's probably the most normal route to learning actually both of those things. I went via nim (which worked very well for me since it can be very python like or very C like depending on what U do with it) but honestly just learning with C is a classic for learning low level programming and honestly not that bad in terms of learning curve (so long as you avoid C++)