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.

Ask HN: What are relevant books as of C++20?

9 pointsby thewavelengthover 4 years ago
I know about Scott Meyers publications (https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Scott_Meyers#Publications). I&#x27;ve read all over the internet these books are a must read.<p>Is this still true for somebody who wants to learn C++ in depth in 2021? I have plenty of experience using C and C++ over the years, nevertheless my coding in C++ still feels like doing C with classes and some STL containers like 2005. I want to progress from this state.<p>Are the books of Scott Meyers still the ones I should read now? If not, what are the new &#x27;standard&#x27; books I should read?

2 comments

stefanos82over 4 years ago
In my humble opinion, any C++ developer wants to call him or her self a professional must read his books...all of them!<p>So, to recap, here are the names of C++ specialists you need to read their books and &#x2F; or articles they publish:<p><pre><code> * Bjarne Stroustrup of course * Andrei Alexandrescu * Scott Meyers * Herb Sutter * Jason Turner (His YouTube channel is a must; too many goodies in it!) * Nicolai Josuttis * John Lakos </code></pre> If you just want to revise your C++ knowledge and bring it up to date, just read the following repo and you are good to go <a href="https:&#x2F;&#x2F;github.com&#x2F;AnthonyCalandra&#x2F;modern-cpp-features" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;AnthonyCalandra&#x2F;modern-cpp-features</a>
评论 #26133569 未加载
评论 #26138237 未加载
d26900over 4 years ago
&gt; &quot;... my coding in C++ still feels like doing C with classes and some STL containers like 2005. I want to progress from this state. ...&quot;<p>What&#x27;s wrong with these?:<p>- C++: The Core Language by Gregory Satir and Doug Brown<p>- <a href="https:&#x2F;&#x2F;github.com&#x2F;QuantumLeaps&#x2F;OOP-in-C" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;QuantumLeaps&#x2F;OOP-in-C</a><p>- C++ Concurrency in Action<p>- C++ Templates the Complete Guide 2e<p>The first is particularly geared towards C programmers, and I prefer the second one to &quot;Inside the C++ Object Model&quot;. (There&#x27;s also another popular book by a German author who covers OOP in C.)<p>For the time being, I will be an &quot;opportunist&quot; who is waiting for the right time to switch to another language - Rust:<p>&quot;To me using C++ means you are ready to give up a lot of time and energy in order to gain a complete control over certain aspects of your program. I was very much into that at the start of my career and gradually started drifting away to more immediate productivity while reserving the right to poke under the hood when necessary. This has led me to Rust and I find it to be the better natively compiled strongly &amp; statically typed language, but YMMV of course.&quot;[1]<p>(No, the concepts I learn in C++11 and beyond won&#x27;t go into waste even when C++ becomes less and less relevant in a couple of decades.)<p>According to Stroustrup himself[2], you should know 5 different kinds of programming languages. So for me it&#x27;s:<p>- Systems programming: C (has a special place in my heart)<p>- General purpose: C++ (will switch over to Rust when the time is ripe)<p>- Scripting: Python<p>- JVM: Scala<p>I think with these, you are well-equipped for the &quot;future&quot;.<p>Also, specialization has its benefits[3], that&#x27;s why I am not &quot;language hopping&quot; constantly. I am &quot;conservative&quot; (C++) until I feel I that the time is right for me to be a &quot;liberal&quot; (Rust).<p>References:<p>[1] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24805717" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=24805717</a><p>[2] <a href="https:&#x2F;&#x2F;youtu.be&#x2F;NvWTnIoQZj4" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;NvWTnIoQZj4</a><p>[3] <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26119087" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=26119087</a>