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

C++

Which C++ standards do you regularly use?

Matt GodboltCreator of Compiler Explorer

“It is nice to see the adoption of modern C++. 1 in 5 responders are on the latest standard, which is great, and many more are planning on moving to at least C++17 in the next year. Modules and concepts seem to be strong motivators.”

C++ standards migration

Andreas KlingCreator of SerenityOS and the accompanying YouTube channel

“It makes sense that lots of people who were already on C++17 are eager to adopt C++20.”

Is your current project planning to use any of these C++20 features in the next 12 months?

Andreas KlingCreator of SerenityOS and the accompanying YouTube channel

“Modules are topping the charts as expected. With C++ build times getting worse each year, it will be very interesting to see how people use modules to push back against this trend.”

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

Which unit-testing frameworks do you regularly use?

Matt GodboltCreator of Compiler Explorer

“It is still disappointing to see a third of developers not writing any unit tests at all.”

How do you manage your third party libraries in C++?

Matt GodboltCreator of Compiler Explorer

“Nearly three quarters of respondents lack a good packaging solution; having to build libraries separately, prebuild, or use system package management means either developer labor or reliance on external parties to build them. That can mean getting behind on new versions, and adds complexity to upgrading or changing compilers.”

Andreas KlingCreator of SerenityOS and the accompanying YouTube channel

“It wouldn't be C++ if we didn't have many competing solutions to this problem, but I can't help but wonder if we'd all be better off if we just picked one and went with it.”

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

Which project models or build systems do you regularly use?

Which compilers do you regularly use?

Matt GodboltCreator of Compiler Explorer

“It is interesting to see open source compilers topping the list of regularly used compilers. In my world, being on Linux makes the MSVC compilers unavailable, but I have always imagined that the number of programmers on Windows would outnumber us, and so the MSVC usage would be higher.”

Andreas KlingCreator of SerenityOS and the accompanying YouTube channel

“It is very interesting to see GCC growing more than Clang. Anecdotally, it does feel like GCC has been making better progress with C++20.”

Which other programming languages do you use in your projects along with C++?

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

Andreas KlingCreator of SerenityOS and the accompanying YouTube channel

“Automatic code formatting is still severely underrated. It may sound silly, but by using a tool like ClangFormat, you'll never need to have another argument about coding style!”

Thank you for your time!

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

Join JetBrains Tech Insights Lab

Take part in surveys and UX studies to make JetBrains products easier to use yet even more powerful. For participating in our research, you’ll also get the chance to earn rewards.

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