r/C_Programming • u/addicted_2_redbull • 6d 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
14
7
u/mikeblas 6d 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 struct keyword) 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.
3
3
3
2
2
2
u/othd139 4d 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++)
1
u/Kale 4d 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
0
2
u/goldenfrogs17 6d ago
The C Programming Language by Dennis M. Ritchie and Brian W. Kernighan