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.

The Development of the C Language (1993)

255 pointsby gus_leonelalmost 2 years ago

14 comments

rwxeralmost 2 years ago
Original title: The Development of the C Language<p>Editorialized title: “C is quirky, flawed, and an enormous success” – Dennis Ritchie<p>HN Guideline:<p>&gt; [...] please use the original title, unless it is misleading or linkbait; don&#x27;t editorialize.
Timpyalmost 2 years ago
My career is in full stack web development but I program in C in my master&#x27;s degree coursework and as a hobby. Every time I have to peel back a decade&#x27;s worth of CSS to move a button on a webapp I daydream of moving to a career in C. Is the grass actually greener on the other side?
评论 #36656320 未加载
评论 #36658237 未加载
评论 #36657268 未加载
评论 #36664430 未加载
评论 #36656178 未加载
评论 #36658769 未加载
评论 #36657345 未加载
评论 #36657816 未加载
评论 #36656383 未加载
评论 #36659992 未加载
评论 #36659485 未加载
dangalmost 2 years ago
Related:<p><i>The Development of the C Language (2003)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19338525">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=19338525</a> - March 2019 (10 comments)<p><i>The Development of the C Language</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15134903">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=15134903</a> - Aug 2017 (22 comments)<p><i>The Development of the C Language* by Dennis Ritchie (1996)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11973627">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=11973627</a> - June 2016 (1 comment)<p><i>The Development of the C Language (1993)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10749358">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=10749358</a> - Dec 2015 (28 comments)<p><i>The Development of the C Language</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3439843">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=3439843</a> - Jan 2012 (1 comment)<p><i>The Development of the C Language</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2258287">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=2258287</a> - Feb 2011 (7 comments)<p><i>The Development of the C Language</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=726519">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=726519</a> - July 2009 (1 comment)<p><i>The Development of the C Language (Dennis Ritchie)</i> - <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=365080">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=365080</a> - Nov 2008 (1 comment)
pjmlpalmost 2 years ago
&quot;Although the first edition of K&amp;R described most of the rules that brought C&#x27;s type structure to its present form, many programs written in the older, more relaxed style persisted, and so did compilers that tolerated it. To encourage people to pay more attention to the official language rules, to detect legal but suspicious constructions, and to help find interface mismatches undetectable with simple mechanisms for separate compilation, Steve Johnson adapted his pcc compiler to produce lint [Johnson 79b], which scanned a set of files and remarked on dubious constructions.&quot;<p>Since 1979! And people keep complaining about being forced to use static analysis in C, on build pipelines.<p>&quot;I know better&quot;, yeah, sure.
评论 #36663853 未加载
评论 #36654161 未加载
babarockalmost 2 years ago
People who still write C, honest question: Why?<p>C is full of quirks. From cryptic &quot;undefined behaviors&quot; to a type system that isn&#x27;t really a type system (more like &quot;size hints for the compiler&quot;), the language doesn&#x27;t feel easy to use&#x2F;debug. Add to this CPP macros, a universally recognized bad idea, a clunky import system, and lack of a single reference implementation of the compiler&#x2F;libC, and you have a language that is harsh to defend.<p>Also, documentation is all over the place. If a function isn&#x27;t described in `man`, I have no idea where else to actually look for it.<p>I used to think &quot;C presents the most honest representation of the low-level mechanisms of the computer&quot;, but... even this is shaky. I&#x27;ve been programming for almost 15 years now, and I don&#x27;t think I&#x27;ve ever seen a computer where memory is <i>actually</i> a continuous array of bits sorted by memory address. The C representation of memory (and all the pointer arithmetic) is not a <i>real</i> representation of your hardware, and this too is an abstraction.<p>So, setting aside the need to maintain 30+ year old code, what would be modern reasons to start a new project in C?
评论 #36653472 未加载
评论 #36653499 未加载
评论 #36653121 未加载
评论 #36653328 未加载
评论 #36653459 未加载
评论 #36653391 未加载
评论 #36655099 未加载
评论 #36653242 未加载
评论 #36655849 未加载
评论 #36653546 未加载
评论 #36653180 未加载
评论 #36655295 未加载
评论 #36656527 未加载
评论 #36653170 未加载
评论 #36653138 未加载
评论 #36654037 未加载
评论 #36653244 未加载
评论 #36653768 未加载
评论 #36653150 未加载
评论 #36653225 未加载
评论 #36654386 未加载
评论 #36653465 未加载
评论 #36653197 未加载
评论 #36655168 未加载
评论 #36653223 未加载
评论 #36656505 未加载
评论 #36653114 未加载
评论 #36653155 未加载
评论 #36653200 未加载
评论 #36653136 未加载
评论 #36653395 未加载
评论 #36659539 未加载
评论 #36654070 未加载
评论 #36653308 未加载
评论 #36653511 未加载
评论 #36657339 未加载
评论 #36663557 未加载
评论 #36654754 未加载
评论 #36654081 未加载
评论 #36654163 未加载
评论 #36653198 未加载
评论 #36655774 未加载
评论 #36654156 未加载
评论 #36653378 未加载
评论 #36654003 未加载
评论 #36655228 未加载
评论 #36654592 未加载
keepamovinalmost 2 years ago
I want to read this. I&#x27;m also interested in the story of how SHA-0 was developed internally in the NSA if anyone has any idea.<p>I&#x27;m a little surprised at folks incredulity that C is used &quot;nowadays&quot;. To me, there will always be a place for C. If you look at:<p>- the bulk of the internet traffic<p>- the bulk of the base OS systems and libraries it is running on<p>I&#x27;d say 99.9% of that is written in C. Hence my surprise.<p>I know Linus now embraces Rust in the Kernel or whatever and I&#x27;m not disparaging that, just seems obvious that C, old as it may be, is still highly relevant. C is a graybeard. Give it a break, right? :)
评论 #36654738 未加载
ketzualmost 2 years ago
This might miss a (1993) tag.<p>Interestingly, some might print the same title about JavaScript.
评论 #36653299 未加载
评论 #36653040 未加载
评论 #36653202 未加载
nathantsalmost 2 years ago
everyone should learn c&#x2F;c++.<p>you need it when exploring the performance ceiling of a workload. without an understanding of performance ceiling, you can’t design a system well.<p>if you want to approach that ceiling[1], you need to implement c&#x2F;c++. if not, it’s better to have chosen not than been forced not.<p>between ccls, clangd, and clion, tooling is fantastic now. it’s a great time to start.<p>1. <a href="https:&#x2F;&#x2F;github.com&#x2F;nathants&#x2F;bsv">https:&#x2F;&#x2F;github.com&#x2F;nathants&#x2F;bsv</a>
评论 #36659931 未加载
9659almost 2 years ago
These men were&#x2F;are giants in the field.<p>But look at how simple the language was in the beginning. A handful of concepts, strung together. Incremental changes; not all were deemed best in hindsight.<p>You can fit what is going on in 16K in your head.
gjvcalmost 2 years ago
&quot;&quot;As we said in the preface to the first edition, C &quot;wears well as one’s experience with it grows.&quot; With a decade more experience, we still feel that way.&quot;&quot; -- Brian Kernighan
up2isomorphismalmost 2 years ago
When the inventor of a language can calmly tell you it is quirky, flawed, it immediately shows how enormously successful it is.
zabzonkalmost 2 years ago
i had read this before, and it has been posted here multiple times, but somehow i had missed:<p>&gt; Thus the core C language escaped nearly unscathed from the standardization process, and the Standard emerged more as a better, careful codification than a new invention.<p>which made me grin.
评论 #36653753 未加载
w4rh4wk5almost 2 years ago
I wonder how much the pile of undefined behavior contributed to C&#x27;s success. I can imagine that vendors picked C over alternatives due to C giving them more freedom with their implementation.
评论 #36653272 未加载
评论 #36653190 未加载
评论 #36653090 未加载
tester756almost 2 years ago
I just wish C had better compilers<p>Errors produced by current mainstream compilers are terrible.<p>&quot;Unresolved symbol&quot; being the best they can do is some joke
评论 #36653529 未加载
评论 #36653625 未加载
评论 #36657052 未加载