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: Ressources to update old C++ skills

8 pointsby HerrmannMover 5 years ago
Hi All!<p>I used to do some C++ 10 years ago. I now have to work on some new projects that will require C++. I know that C++ evolved a lot. Without being after all the new features, I&#x27;m looking to write safer code (eg through safer pointer handling).<p>Do you know about some ressources focusing on how to code in C++ in a &quot;modern&quot; and safe way for people with previous experience in the language? For example, after some search, I have &quot;Effective Modern C++&quot; in mind (focusing on c++11&#x2F;14), but I would love to hear what the HN community has to say before jumping in!<p>Note: As much as I appreciate other safer languages, C++ is a requirement so I&#x27;m really looking for safety in C++.<p>Thanks!

2 comments

pnakoover 5 years ago
&#x27;A tour of C++&#x27; by Stroustrup is a good overview of modern C++.<p>I recently got back into C++ after big hiatus, just like you, and for me the things that changed are:<p><pre><code> - definitely the things you mentioned: much safer constructs (unique_ptr, move semantics) - the use of CMake as a build system - much less focus on arcane templates and libraries like Boost - new tools like sanitizers - new IDEs (CLion)</code></pre>
评论 #22051921 未加载
评论 #22113552 未加载
SamReidHughesover 5 years ago
If you already know C++03, I&#x27;d first take a look at the C++11 Wikipedia page. (It might be less bloated if you go back in the page history, so try going back to 2012.) I don&#x27;t think guides or resources beyond that are really necessary to grasp what&#x27;s new and how to make use of it, except for precise reference documentation.
评论 #22052162 未加载