HACKER Q&A
📣 systemvoltage

Resources for Learning C


Hi HN,

I'd like to get back into low level programming and learn C properly. I am a seasoned programmer for many years in high level languages. I've done a few small embedded projects on ESP32 and wanted to seriously learn C.

What are some of the interesting intermediate/advanced resources for learning C? Even if it is not in a "tutorial" format, if you could share some projects, or repositories I should look at and implement my own version? Of course, would welcome C programming books and how to professionally write C avoiding common traps.

I've also read K&R cover-to-cover and I found that it lived up to the its popularity. I tried searching on HN but couldn't find a definitive thread for learning C specifically.

Thank you!


  👤 ksaj Accepted Answer ✓
I like this Derek Banas guy. He puts out a lot of videos with titles like "Learn in one video" and they're actually pretty good. He's very much a programming language enthusiast. I sometimes watch his videos for languages I don't even intend on learning just to see how they work, because he has a particular structure that makes it easy to compare. And he sounds like he actually enjoys dissecting and talking about them. He also does videos for other skills, but the vast majority are computer related.

I think C might be his home language because he has a few videos in that series, and a lot more when it comes to other C family topics. Here's the first one for C programming.

  https://www.youtube.com/watch?v=nXvy5900m3M
Check out his other YouTube videos. You can really go down a few rabbit holes on his page alone.

EDIT: He has a channel for all his C tutorials here: https://www.youtube.com/watch?v=8Ib7nwc33uA&list=PLGLfVvz_LV...


👤 ThrowawayR2

👤 Nicksil
Beej

Beej's Guide to C Programming: https://beej.us/guide/bgc/

Beej's Guides: https://beej.us/guide/