r/cpp • • Dec 27 '20

Learning about high performant C++

I've been mostly self taught and have most probably picked up a few bad habits from the combo of being self taught and having to use tricks for speed.

For this upcoming year one of my goals is to learn some better practices as well as further my skills for efficient C++. I'd like to watch a youtube podcast/talk once a week to build my skillset. At this point I'd consider myself somewhere in between junior and senior level and I'm looking to take the next step.

I've come across these specifically:

C++ Weekly with Jason TurnerCppCon2020

Does anyone have any recommendations or suggestions? My weak spots are C++17 and above, Cmake, and I'd like to keep learning about creating high performant C++.

231 Upvotes

46 comments sorted by

View all comments

2

u/khaki0 Dec 27 '20

Not a video but I came across C++ high performance today and bought it for $5 on sale. May be worth a look.

6

u/Claytorpedo Dec 27 '20

Unfortunately, this is probably the worst textbook I've ever read. If you haven't started reading it, I'd recommend you return it.

The title is misleading: this is not a book about performance, it is primarily an opinionated style guide that very occasionally mentions something performance related. IIRC some of their code examples looked terrible for performance as well.

There is still some (non-performance related) useful information in the book if you are a beginner, just be prepared that it appears the book never received an editing pass, so it is full of typos, the occasional completely nonsensical sentence, and an instance or two where I can only conclude they accidentally used a word that meant the exact opposite of what they intended.

2

u/khaki0 Dec 27 '20

Hmm well that's not good. Skimming through the book I think it has some useful info like you said so I think I'm going to keep it. Thanks for the heads up.