C++

These questions were shown only to the developers who chose C++ as one of their three primary programming languages.

Which C++ standards do you regularly use?

People are continuing to adopt the new C++ standards. The share of developers using C++20 has jumped to 12%.

The results for some questions, including this one, have been split into 3 groups based on the types of software the respondents develop and the fields in which their companies operate. These groups represent the 3 main areas of C++ development: Embedded development, Finance, and Games development.

Do you plan to move to another C++ standard in the next 12 months? If so, to which one?

Roughly half of the C++ developers surveyed plan to move to another standard this year.

Which IDE or editor do you use the most for C++ development?

JetBrains recently launched the Rider for Unreal Engine IDE Public Preview, which we hope will make it onto this table for Game Development next year.

Which unit-testing frameworks do you regularly use, if any?

Catch moved into second place this year, overtaking Boost.Test and CppUnit.

What dependency managers do you use in your projects?

Half of C++ developers don’t use anything to manage their dependencies.

What error reporting methods are allowed on your current project (work or school)?

Which project models or build systems do you regularly use, if any?

As in previous years, the leading build systems are CMake, Visual Studio project, and Makefiles.

Which compilers do you regularly use?

GCC has increased its share for the first time in 4 years, while Clang has been growing steadily.

Which of the following tools do you or your team use for guideline enforcement or other code quality or analysis?

The growing popularity of Clang is driving the popularity of it’s tools, such as Clang-tidy and Clang-analyzer.

Which of the following coding advice or guidelines sources do you or your team actively use?


Thank you for your time!

We hope you found our report useful. Share this report with your friends and colleagues.

Participate in future surveys

If you have any questions or suggestions, please contact us at surveys@jetbrains.com.