TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Beej's Guide to C Programming [pdf]

113 pointsby krykp2 months ago

10 comments

Amorymeltzer2 months ago
Previous discussions with notable engagement:<p>- Feb 2023, 284pts, 64 comments: &lt;<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34946811">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=34946811</a>&gt;<p>- March 2023, 115pts, 37 comments: &lt;<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35338074">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=35338074</a>&gt;<p>- April 2021, 507pts, 172 comments: &lt;<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26911399">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26911399</a>&gt;<p>- September 2017, 427pts, 79 comments: &lt;<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15198093">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15198093</a>&gt;<p>Worth noting that there are changes on a regular basis: &lt;<a href="https:&#x2F;&#x2F;github.com&#x2F;beejjorgensen&#x2F;bgc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;beejjorgensen&#x2F;bgc</a>&gt;
sdsd2 months ago
I learned about beej when I started the Vortex wargame on OverTheWire (<a href="https:&#x2F;&#x2F;overthewire.org&#x2F;wargames&#x2F;vortex&#x2F;vortex0.html" rel="nofollow">https:&#x2F;&#x2F;overthewire.org&#x2F;wargames&#x2F;vortex&#x2F;vortex0.html</a>). I emailed him about an error in the part about loops, and he told me he&#x27;d fix it, but never did. Only years later when I got nostalgic and went to reread that part of his guide, did I realize there had never been a bug, I&#x27;d simply misunderstood the code, and he had humored me.<p>I&#x27;m such a huge beej fan.
simonw2 months ago
This is a better link as it provides more formats, including ones that (unlike PDF) work well on mobile: <a href="https:&#x2F;&#x2F;beej.us&#x2F;guide&#x2F;bgc&#x2F;" rel="nofollow">https:&#x2F;&#x2F;beej.us&#x2F;guide&#x2F;bgc&#x2F;</a>
评论 #43478346 未加载
jjice2 months ago
Beej is an incredible author. His networking guide is not only succinct and informative, it&#x27;s also very funny. He&#x27;s got a great writing style.<p>There was a thread a month or two back showing off some more of his guides, including this one. Going to download some of these for a long flight coming up. Huge thank you to Beej for the incredibly high quality content at no cost. There&#x27;s also a paperback of at least the network programming guide available to support (great gift to give to a junior engineer).
评论 #43471800 未加载
tempodox2 months ago
Beej&#x27;s guides are great. As for C, you also need the mandatory companion guide: A Guide to Undefined Behavior in C and C++ (<a href="https:&#x2F;&#x2F;blog.regehr.org&#x2F;archives&#x2F;213" rel="nofollow">https:&#x2F;&#x2F;blog.regehr.org&#x2F;archives&#x2F;213</a>).
codr72 months ago
Here&#x27;s another guide to C, from a slightly different angle, that I&#x27;ve been working on for a while:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;codr7&#x2F;hacktical-c" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codr7&#x2F;hacktical-c</a>
davidw2 months ago
If you&#x27;re ever in Bend, beej shows up at these events pretty regularly: <a href="https:&#x2F;&#x2F;www.meetup.com&#x2F;deschutes-tech-guild&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.meetup.com&#x2F;deschutes-tech-guild&#x2F;</a>
评论 #43473924 未加载
marginalia_nu2 months ago
Beej taught me half of what I know about network programming and unix sockets. The dude deserves a medal for the work he has done over the decades.
throwme08273492 months ago
I need to learn rust for work. Since beej doesn&#x27;t seem to have a guide for rust, what&#x27;s the next best thing? :)
评论 #43473693 未加载
raldu2 months ago
Help me understand what is so “great” about a writing style that reads like a couple of tech bros cracking jokes next to a water cooler, please?<p>That, “You” language spread all over the text to the point that I’ll almost take programming too personally!<p>The only missing overabundance in the text is that of memes and emojis in it’s style.<p>Is it oh-so-very “accessible?”<p>Is it a “very conversational” style?<p>Is it so-very “TLDR” over “RTFM?”<p>Is it a late-night talk show?<p>Is it the M&amp;M’s of technical writing for distracted kids?