The Little Book of C

ghostrss 65 points 19 comments March 26, 2026
little-book-of.github.io · View on Hacker News

Discussion Highlights (8 comments)

i_am_proteus

Another very fine online reference for someone new to C is Beej's Guide to C Programming: https://beej.us/guide/bgc/ (Here is a reference to K&R, the standard first reference to C, because I am obligated to make such a reference.)

user982

Previously: https://news.ycombinator.com/item?id=45448525

threethirtytwo

Ai is getting really good. I can’t tell the difference anymore.

androiddrew

Wish they had this for zig

smusamashah

I wonder how many hallucinated wrong facts are in there. It looked like a good resource until I learned its LLM generated. https://news.ycombinator.com/item?id=45479268

robviren

I wish someone spoon fed me how to add path for C compilers in Windows back in the day. We lose a good 90% of people to installing C from ever learning C. Feel like godbolt or an online compiler might be a reasonable starting place these days. C is amazing but can be so punishing early on compared to stupid opening up any text editor on earth and writing an HTML file. Not advocating for more JS learning but it's hard to beat the getting started on that.

agrishin

The fact that it's AI generated is simultaneously thrilling and frightening. Especially considering that some AI Agents might be trained on that.

JSR_FDED

The author is right about C leading to better understanding of computers, OSes and other languages. For me a breakthrough moment was when I saw my C code interleaved with the generated assembly. Registers, calling conventions, calling OS functions…all laid bare!

Semantic search powered by Rivestack pgvector
3,471 stories · 32,344 chunks indexed