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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Bjarne Stroustrup: “I Did It for You All” (2007)

158 点作者 sbt567超过 3 年前

24 条评论

marcodiego超过 3 年前
To simplify the task of refuting this hoax once again every time it resurfaces, I just created a new subsection on Stroustrup wikipedia article about it: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bjarne_Stroustrup#The_recurrent_rumor_about_why_C++_was_developed" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Bjarne_Stroustrup#The_recurren...</a>
评论 #29488492 未加载
评论 #29489386 未加载
评论 #29488432 未加载
评论 #29488464 未加载
sumanthvepa超过 3 年前
This week I had the opportunity of revisiting C++. I had not used it in a project in nearly twenty years and I found modern C++ an absolute joy to use. Of course it is still blazingly fast. But now I could build a complete app with no explicit memory management at all. Lamdas are a joy to use and integrate cleanly with STL and boost. Compiler error message are now much much better. Cross platform compatibility was awesome. The same program compiled cleanly with VC++ clang on MacOS and GCC on Linux cleanly. Finally there is a ton of documentation on every weird nuance of the language just a web search away. Both CPP reference and MSDN are just amazing. Overall I’m really happy with how much progress the language and tools have made.
评论 #29487660 未加载
评论 #29487666 未加载
评论 #29489336 未加载
评论 #29488447 未加载
评论 #29488472 未加载
评论 #29487475 未加载
neilv超过 3 年前
&gt; <i>There was this Oregon company - Mentor Graphics, I think they were called - really caught a cold trying to rewrite everything in C++ in about ‘90 or &#x27;91.</i><p>This reminded me of the very first industry conference I attended as a kid, Usenix C++ 1992, from where I seemed to recall a talk about Mentor dealing with static initializer costs. :)<p><a href="https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;1992-proceedings-c-portland&#x2F;page&#x2F;170&#x2F;mode&#x2F;2up" rel="nofollow">https:&#x2F;&#x2F;archive.org&#x2F;details&#x2F;1992-proceedings-c-portland&#x2F;page...</a><p>I remembered that paper about a decade later, when a related problem came up in an interview at a company developing a new Web-oriented programming language, when they were talking technical about how they do program loading. It turned out they had indeed anticipated and&#x2F;or run into that, and had a clever solution for it, and seemed impressed that I&#x27;d asked about it (thanks to the Usenix C++ paper by John F. Reiser from Mentor Graphics).
fhd2超过 3 年前
Bit OT, but I think I never had a venue for saying this in public: Stroustrup is absolutely one of the most inspiring programmers I&#x27;m aware of, think of C++ what you like.<p>Stuff like const correctness and references were way ahead of its time IMHO, and I always found his talks and writing insightful.<p>Despite the pretty insane success of his creation, and all the hate, he always seemed pretty down to earth and friendly to me - I don&#x27;t know if a lot of people could have pulled that off in his position.<p>Maybe I&#x27;m missing some major flame wars or dramas, but from all I&#x27;ve seen and heard, a very inspiring person.
udia超过 3 年前
Previous discussion: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8410868" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8410868</a>
评论 #29488386 未加载
lorenzotenti超过 3 年前
Very fun but not true, <a href="https:&#x2F;&#x2F;www.stroustrup.com&#x2F;bs_faq.html#IEEE" rel="nofollow">https:&#x2F;&#x2F;www.stroustrup.com&#x2F;bs_faq.html#IEEE</a>
评论 #29488192 未加载
评论 #29488109 未加载
评论 #29488126 未加载
disintegore超过 3 年前
cat-v.org, now that&#x27;s a domain I haven&#x27;t seen in a while.<p>Crazy how I used to agree with everything these people (and the suckless.org folks) said and now I&#x27;d strictly avoid working with anyone like that.
评论 #29489465 未加载
krylon超过 3 年前
I try to stay away from C++ (successfully for the most part), but I <i>do</i> recommend Stroustrup&#x27;s &quot;Design and Evolution of C++&quot;.<p>It is a bit dated by now, but it is the best book on the design and evolution of any programming language in general I have come across. (<i>wink</i> If anyone knows of a serious contender, please let me know!) I wish he&#x27;d update it to reflect the changes C++ has seen since the book was first published.
Apocryphon超过 3 年前
There ought to be a similar “interview” with Chris Lattner on the origin of Swift. And ditto for any other widespread recent languages.
评论 #29487594 未加载
locallost超过 3 年前
I&#x27;m torn on this. Had to learn (well just the basics) c++ in school and even though I didn&#x27;t really know anything I wondered if things really need to be that complicated. So I went over to the &quot;dislike c++&quot; group as soon as I figured out one exists. On the other hand, I really enjoyed his c++ book (there are probably many, don&#x27;t know which one anymore) and from it and the few talks of his I saw I think he&#x27;s really good at explaining and a good teacher.
Kototama超过 3 年前
One could almost replace C++ by Scala and C by Java in the text :-)
评论 #29488102 未加载
DonHopkins超过 3 年前
If only people took Bjarne Stroustrup&#x27;s paper &quot;Generalizing Overloading for C++2000&quot; more seriously and implemented it as part of the official standard, all of C++ usability and complexity problems would have been solved long ago, and C++ programs would all look beautiful and elegant.<p><a href="https:&#x2F;&#x2F;www.stroustrup.com&#x2F;whitespace98.pdf" rel="nofollow">https:&#x2F;&#x2F;www.stroustrup.com&#x2F;whitespace98.pdf</a>
jkingsman超过 3 年前
A snapshot from October: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20211031161220&#x2F;http:&#x2F;&#x2F;harmful.cat-v.org&#x2F;software&#x2F;c++&#x2F;I_did_it_for_you_all" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20211031161220&#x2F;http:&#x2F;&#x2F;harmful.ca...</a>
mempko超过 3 年前
It&#x27;s funny but honestly Stroustrup is the best language designer out there. While others abandoned their creations to make new languages, Stroustrup soldiered on and modern C++ is actually amazing. He&#x27;s a working programmers language designer, not an academic.
评论 #29488198 未加载
评论 #29490859 未加载
评论 #29488744 未加载
评论 #29487395 未加载
评论 #29488173 未加载
评论 #29489887 未加载
clircle超过 3 年前
Fake, but very funny
atemerev超过 3 年前
This is a known April&#x27;s fool joke: why posting this here at face value?
shalabajser超过 3 年前
The interview is fake, but this story isn&#x27;t. Years ago, when I still had to earn living by coding in C++, I complained about C++ to a friend of mine who was a well respected university professor. He said: &quot;I know Bjarne. He is a good guy. He didn&#x27;t do it deliberately.&quot;<p>Incidentally, back then I had to write device drivers in C++ - templates, inheritance and all. To preserve my sanity, I wrote a Perl script which converted a simple text file describing device registers into the horrible C++ code sausages.
hahamrfunnyguy超过 3 年前
Should have (1998) in the title.
评论 #29487293 未加载
bajsejohannes超过 3 年前
Mirror, since the link is down for me: <a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20211031161220&#x2F;http:&#x2F;&#x2F;harmful.cat-v.org&#x2F;software&#x2F;c++&#x2F;I_did_it_for_you_all" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20211031161220&#x2F;http:&#x2F;&#x2F;harmful.ca...</a>
mrich超过 3 年前
Modern C++ is nice to use, but there&#x27;s no way I would use it for a greenfield project. Rust simply gets so many things right and saves you the CPU years you have to spend on ASan&#x2F;MSan&#x2F;TSan&#x2F;UBSan&#x2F;valgrind and fuzzing just to shake out all the bugs.
mirekrusin超过 3 年前
(FAKE) in the title maybe [0] as it&#x27;s not 1st of April today?<p>[0] <a href="https:&#x2F;&#x2F;www.stroustrup.com&#x2F;bs_faq.html#IEEE" rel="nofollow">https:&#x2F;&#x2F;www.stroustrup.com&#x2F;bs_faq.html#IEEE</a>
Koiwai超过 3 年前
154 points? come on HN you&#x27;re better than this.
taneq超过 3 年前
He did it all for the nookie &lt;yeah&gt;
b20000超过 3 年前
although this is funny, there are some important points in this article to keep in mind.
评论 #29487516 未加载