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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Best path/resource to learn modern C++ in 2022?

32 点作者 abhimskywalker超过 2 年前
Having searched multiple places, it seems there are mixed opinions on best way to start learning C++ across time and internet forums.<p>For experienced programmers (Python, JS, Java, Kotlin, etc.), what&#x27;s the best way to pickup modern C++?<p>What are best resources you have come across for C++?

8 条评论

maldev超过 2 年前
You need to choose a domain. Find software and libraries in that domain and then work off of that. &quot;Modern C++&quot; can mean alot of things. Most people conflate this with the STD library, but alot of people don&#x27;t use that. Core language feature wise it&#x27;s not that much. Some &quot;Modern&quot; c++ domains don&#x27;t even use the STD.<p>This is similar to asking &quot;What is the best way to learn modern Java&quot;, where the answer will vary vastly based off what whether you&#x27;re doing embedded, desktop, server, serverless, websites etc.<p>Possibilities for &quot;modern&quot; C++ domains. HPC, Machine Learning, Finance, Gamedev, Crypto, Scientific... Also keep in mind most are going to be writing C with Classes and target C++11 at most.
评论 #32936843 未加载
pajko超过 2 年前
<a href="http:&#x2F;&#x2F;tmplbook.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;tmplbook.com&#x2F;</a> and study the source code of some good-quality open source project, for example <a href="https:&#x2F;&#x2F;github.com&#x2F;fmtlib&#x2F;fmt&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;fmtlib&#x2F;fmt&#x2F;</a><p>and this could be also handy: <a href="https:&#x2F;&#x2F;en.cppreference.com&#x2F;w&#x2F;cpp&#x2F;meta" rel="nofollow">https:&#x2F;&#x2F;en.cppreference.com&#x2F;w&#x2F;cpp&#x2F;meta</a>
nbaksalyar超过 2 年前
C++ Crash Course [0] should be a good start. It will teach you all the important basics without the legacy stuff.<p>[0] <a href="https:&#x2F;&#x2F;nostarch.com&#x2F;cppcrashcourse" rel="nofollow">https:&#x2F;&#x2F;nostarch.com&#x2F;cppcrashcourse</a>
scombridae超过 2 年前
<i>For experienced programmers</i><p>Start with getting an entry-level job doing C++, which 1. financially incentivizes, and 2. gives you something concrete to work off of. I am an experienced programmer.
评论 #32926702 未加载
soheil超过 2 年前
Dive into a project like Firefox, build it on your platform, then focus on a component that you can visually test, start hacking, make silly changes and just go to town.
AnimalMuppet超过 2 年前
I would start with Stroustrup&#x27;s <i>A Tour of C++</i>.
评论 #32930804 未加载
评论 #32935527 未加载
hazyc超过 2 年前
If you want a thorough reference of C++20 and enjoy 1000 page textbooks (I do), then I can recommend &#x27;Professional C++&#x27; by Marc Gregoire.
PaulHoule超过 2 年前
You sure you want to?
评论 #32936755 未加载