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.

Effective C: An Introduction to Professional C Programming

237 pointsby awoodbeckabout 5 years ago

11 comments

maxioaticabout 5 years ago
I started learning C at the start of this year by going through K&amp;R and Understanding and Using C Pointers. I will likely pick this is up, it looks good and I really like No Starch Press books.<p>Does anyone have pointers on where to start with actual embedded programming? I have a couple Arduinos and RPis laying around, but I&#x27;m wondering if there are more &#x27;real&#x27; ways to do it.
评论 #22721356 未加载
评论 #22724988 未加载
评论 #22725958 未加载
评论 #22726260 未加载
评论 #22721290 未加载
jerzytabout 5 years ago
Obviously, there&#x27;s the iconic K&amp;R, which some people don&#x27;t like for its terseness. I loved it - pure and to the point. However, the second book that made a huge impact on me was &quot;Reusable Data Structures For C&quot; by Roger Sessions. If you internalize these two books you&#x27;ll be a highly competent C programmer. <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;Reusable-Data-Structures-Prentice-hall-Software&#x2F;dp&#x2F;0137790341&#x2F;ref=sr_1_3?dchild=1&amp;keywords=roger+session&amp;qid=1585637927&amp;rnid=2941120011&amp;s=books&amp;sr=1-3" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;Reusable-Data-Structures-Prentice-hal...</a>
montalbanoabout 5 years ago
Can any more experienced C developers give an opinion on the author&#x2F;contents of this book?<p>I&#x27;m a Python&#x2F;Julia developer starting to learn C. I have K&amp;R already, and Test Driven Development for Embedded C (Grenning).<p>I did order &#x27;Modern C&#x27; by Gustedt but the publisher never delivered to Waterstones so they had to cancel the order (about 6 months ago, book still unavailable from Waterstones as of today).
评论 #22719913 未加载
评论 #22719674 未加载
评论 #22720914 未加载
评论 #22725487 未加载
yayanaabout 5 years ago
It&#x27;s nice to see a good quality effort on a modern C book.<p>Looking at the current language&#x2F;job markets outside the center, I feel like we are hitting the same problems as in open source. People add C++ to every C job to have something with the same level of innovations going on as new languages, even if it is about Linux embedded and you wouldn&#x27;t let a C++ construct near the system.
评论 #22718651 未加载
评论 #22719065 未加载
bogomipzabout 5 years ago
Could someone who purchased the early release say how any chapters are currently available? Usually Nostarch bolds the the currently available chapters in the table of contents and this looks like all of them.
评论 #22719632 未加载
carapaceabout 5 years ago
(That cover art really made me chuckle.)
评论 #22721116 未加载
sramsayabout 5 years ago
What is going on with the sudden profusion of books on C? <i>21st century C, Modern C, Understanding and Using C Pointers?</i><p>Okay, I realize &quot;profusion&quot; might seem a bit overblown, but honestly, in C world (and in comparison to other languages), this is practically a publishing boom.<p>Not that I&#x27;m complaining; C was my first programming language (back some time in the mid-90s), and it&#x27;s still my favorite. But I wonder why we&#x27;re suddenly getting new books on it? The language itself hasn&#x27;t undergone any substantial changes recently, and if anything, &quot;memory safety&quot; is all the rage -- a thing that C most assuredly is not.
评论 #22719948 未加载
评论 #22719906 未加载
评论 #22720528 未加载
评论 #22719970 未加载
评论 #22719414 未加载
评论 #22719818 未加载
评论 #22720871 未加载
评论 #22719446 未加载
sitkackabout 5 years ago
Encouraging C use is at this point, bordering on malpractice. I understand that the author is a leading authority in &quot;secure C coding&quot;. While the ABI doesn&#x27;t have a lot of affordances, we don&#x27;t have to keep using the language because of the ABI.<p>Rather<p>ZetZ -- Symbolic Verifier and Transpiler to C. <a href="https:&#x2F;&#x2F;github.com&#x2F;aep&#x2F;zz" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aep&#x2F;zz</a> and previous discussions, <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22245409" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=22245409</a><p>Zig, <a href="https:&#x2F;&#x2F;ziglang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;ziglang.org&#x2F;</a> <a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?q=ziglang" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?q=ziglang</a><p>Rust is more of a C++ competitor, <a href="https:&#x2F;&#x2F;www.rust-lang.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.rust-lang.org&#x2F;</a><p>And Dlang has a regime where it can be used w&#x2F;o a GC. <a href="https:&#x2F;&#x2F;dlang.org&#x2F;spec&#x2F;garbage.html" rel="nofollow">https:&#x2F;&#x2F;dlang.org&#x2F;spec&#x2F;garbage.html</a><p>I left out any language which forces the use of a garbage collector.
nottorpabout 5 years ago
What&#x27;s with that captcha?<p>Tried twice, couldn&#x27;t solve it.<p>If you&#x27;re trying to sell something, make it easy to get my money.
sys_64738about 5 years ago
if (!(K &amp; R)) { perror(&quot;An internal error occurred.\n&quot;); }
dvfjsdhgfvabout 5 years ago
I&#x27;m sorry, $60? I&#x27;m all in favor of fair remuneration for an excellent piece of work, but this is really too much. $30 would be much more fair.<p>(And it doesn&#x27;t matter if it&#x27;s a physical book or e-book, the cost of printing nowadays is ca. $1 for each 100 pages.)
评论 #22718243 未加载
评论 #22718948 未加载
评论 #22718212 未加载
评论 #22718782 未加载
评论 #22719647 未加载
评论 #22718428 未加载
评论 #22719266 未加载
评论 #22718352 未加载
评论 #22719858 未加载
评论 #22718507 未加载
评论 #22718325 未加载
评论 #22720160 未加载