TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Learn enough C to survive

105 点作者 the_jesus_villa超过 2 年前

12 条评论

throwawaaarrgh超过 2 年前
You should learn C because it's a gateway to deeper knowledge. The kernel uses it, about a thousand programs shipped with Linux use it, embedded programming uses it. It helps you understand how lower level network protocols have been designed, how to efficiently use memory, how to design algorithms and why they're harder than you think. There's a crapton of libraries in C, most higher level languages have some extensions to take advantage of them. Sensitive security software will use it, due to various attack vectors that are slightly easier to deal with at a lower level. It's handy and expands your brain. And it's not going away anytime soon.
评论 #33230049 未加载
评论 #33230108 未加载
评论 #33230180 未加载
评论 #33229803 未加载
评论 #33229845 未加载
kensai超过 2 年前
&quot;On my 18th birthday, my girlfriend asked me to drive to Barnes &amp; Nobles. She strolled in, then strolled out at a much faster pace. Then she handed me a copy of The C Programming Language, which she had just stolen...&quot;<p>Marriage material! :D
评论 #33229955 未加载
评论 #33229980 未加载
评论 #33229925 未加载
pksadiq超过 2 年前
&gt; Programming from the Ground Up<p>&gt; <a href="https:&#x2F;&#x2F;download-mirror.savannah.gnu.org&#x2F;releases&#x2F;pgubook&#x2F;ProgrammingGroundUp-1-0-booksize.pdf" rel="nofollow">https:&#x2F;&#x2F;download-mirror.savannah.gnu.org&#x2F;releases&#x2F;pgubook&#x2F;Pr...</a><p>There is an updated version of the book from the author: &quot;Programming Under the Hood&quot; or &quot;Learn to Program with Assembly&quot;. See[0]<p>[0] <a href="https:&#x2F;&#x2F;github.com&#x2F;johnnyb&#x2F;programming_under_the_hood" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;johnnyb&#x2F;programming_under_the_hood</a>
评论 #33230876 未加载
wodenokoto超过 2 年前
&gt; Beej’s Guide to C Programming &gt; It’s straightforward and to the point.<p>I&#x27;m not saying its a bad book&#x2F;guide, but with sections like these:<p>&gt;Before we go on, why would I even begin to bother pointing out that a pound sign is called an octothorpe? The answer is simple: I think the word octothorpe is so excellently funny, I have to gratuitously spread its name around whenever I get the opportunity. Octothorpe. Octothorpe, octothorpe, octothorpe.<p>It claims to be aimed at programmers who are already proficient in high-level languages, but spends a whole paragraph explaining what code comments are.<p>I&#x27;m not sure it qualifies as &quot;to the point&quot;
评论 #33229957 未加载
habibur超过 2 年前
Learn enough C so that you can push your module written in Java&#x2F;Ruby&#x2F;Python&#x2F;Node into C, and all the other high level language users can pick it, compile it and use it natively in their language.<p>Imagine you wrote a new 3D model file-format and all other language users have to load the Ruby interpreter to use it.
seibelj超过 2 年前
&gt; <i>Then she handed me a copy of The C Programming Language, which she had just stolen (though at $80, it’s not clear who was robbing whom to begin with).</i><p>Code of Dishonor
评论 #33230000 未加载
评论 #33229587 未加载
whateveracct超过 2 年前
If you want to be a Haskeller, learn some C too. They are fully complementary. The Linux tooling, gamedev libraries, etc you have available if you leverage C is great. And Haskell&#x27;s FFI and C tooling making it simple.
pkrumins超过 2 年前
C is life.
the_jesus_villa超过 2 年前
Just a bibliography of some C books
评论 #33229199 未加载
jjtheblunt超过 2 年前
This is so strange : the original Kernighan and Ritchie The C Programming Language book from the early 1980s was a couple hours front to back read, and you&#x27;re done, and you&#x27;re up and programming. (Or you&#x27;re not a computer person at heart perhaps?)<p>The followup edition I think had the C89 draft ANSI standard, and was the beginning of the way way way more wordy era.<p>That the idea of &quot;learn enough C to survive&quot; is a concern for anyone seems to mean the concise clarity of the original K&amp;R book is long lost?
评论 #33229676 未加载
评论 #33238028 未加载
catiopatio超过 2 年前
&gt; <i>Then she handed me a copy of The C Programming Language, which she had just stolen (though at $80, it’s not clear who was robbing whom to begin with).</i><p>No, it’s actually crystal clear.
评论 #33229797 未加载
behnamoh超过 2 年前
Isn’t a more future-proof approach to learn Rust instead? Linux kernel is incorporating Rust, and programmers often adopt open source packages written in their favorite language. Rust being the most favorite language for 5 years in a row must say something.
评论 #33229926 未加载
评论 #33230280 未加载
评论 #33229940 未加载
评论 #33231017 未加载
评论 #33230823 未加载