Which C++ version is the most commonly used in the tech industry today?

April 28, 2025 4 answers
Asked by frozen.lake.thickness
I've been coding in C++ on and off for about 25 years, with my last significant project being back in 2019. Now I'm looking to dive into software roles in the Big Tech or EDA sector. I've noticed that C++ has evolved through several versions: C++11, C++14, C++17, C++20, and C++23. I'm quite familiar with C++11 but would love some insight into which version is most prevalent in larger tech companies today โ€“ any recommendations?

Answers

wool carding
From my experience, there's quite a bit of variation depending on the team and the project. Generally, most teams start incorporating features from newer versions of C++ once theyโ€™ve been proven stable across the compilers they use, like gcc, clang, and MSVC. A typical project today might support C++20 but not C++23 yet, as many companies don't want to adopt the very latest features unless necessary. Often, old code isn't rewritten even if newer features are available, especially if itโ€™s stable and functional. So itโ€™s a mix โ€“ you might see C++11 in older codebases, but C++20 is becoming the standard for new projects.
Reply to this answer
all-clear-signal
Honestly, it probably depends on when the bulk of C++ projects were launched, as newer projects usually adopt the latest version. I remember back in the day, Watcom C++ was quite popular, especially for games like Doom. But these days, Iโ€™d say stick to at least C++17 for new projects because it has some great features. If you can, get familiar with C++20 too, as it has some really nice enhancements!
Reply to this answer
sensible shoestring
If youโ€™re working on projects where safety is a concern, itโ€™s currently best to target C++17. This aligns with standards like MISRA C++:2023, which assumes use of C++17. Overall, having a strong grasp of C++11 is crucial, as it introduced many safety features and concepts used widely today.
Reply to this answer
in-the-meantime
Definitely donโ€™t go below C++17 for anything new. The features introduced, like `if constexpr`, are fantastic, and C++20 brings things like auto type deductions and concepts that are really helpful. If youโ€™re learning, make sure you grasp the essentials from C++11 as well, since it set the groundwork for many features we use now. C++23 is shiny but not fully supported everywhere yet.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions