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

0
0
Asked By CodeNinja42 On

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?

2 Answers

Answered By TechieTina On

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!

Answered By DevGuru88 On

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.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.