New releases of the C++ language maintain incredibly strong backwards compatibility, making it easy to keep older C++ code working properly as standards march forward. C++11, C++14, and C++17 have transformed the C++ language in ways that make it as programmer-friendly as more recent languages but with many essential benefits that continue to make it […]
C++ Get the RSS Feed
Content related to C++
Clazy An open source Clang plugin allowing it to understand Qt semantics
Clazy is a Clang plugin which extends the compiler with over 50 warnings related to Qt best practices ranging from unneeded memory allocations to API misuse. It’s an opensource project spawned by KDAB’s R&D efforts for better C++ tooling. At KDAB, we have a pretty cool Continuous Integration infrastructure to take care of our customers’ […]
Hotspot A GUI for perf report
“I have also done some last minute performance improvements with the help of KDAB Hotspot/perf, and I must say that the days of profiling with weird/huge perf command line options are gone, awesome tool!” Hotspot is a KDAB R&D project to create a standalone GUI for performance data. It is a replacement for perf report. […]
Nailing 13 signal and slot mistakes with clazy 1.3 Create better Qt code by automatically uncovering easy-to-miss errors
Today I want to share 13 mistakes regarding signals, slots and connect statements and how to find them at compile time with clazy, our open-source static-analyzer for Qt. Clazy is a compiler plugin which generates warnings related to Qt. You can read more about it in our previous blog posts: How to use static analysis […]
New in Qt 5.10: QThread::create
If you are using Qt and you need to run some code in a separate thread, chances are that you are using QThread for the job. QThread is a very old class in Qt, making its first appearance in Qt 2.2, released on the 22nd of September 2000. Its responsibility is to start a new […]
An Unexpected C++ Journey Can you use Umlaut in variable names?
Some of you may know that KDAB employees enjoy flexibility on working hours as well as location, and some choose to work from home, with the opportunity to share childcare, do part-time study or simply enjoy an out-of-the-way location. All that’s required is a decent bandwidth for KDAB work. About once a year, all of […]
Update to Linux perf report Improved handling of inlined frames
Linux perf is an immensely useful and powerful tool suite for profiling of C/C++ applications. I have used it extensively and successfully on various customer projects, both for desktop applications as well as automotive or industrial projects targeting low-end embedded Linux targets running on ARM hardware. The biggest problem with perf really is its usability, […]
CppCon 2017: trip report
During the last week of September I attended the 2017 edition of CppCon, in Bellevue, WA. Unusually late due to my presence at Qt World Summit which took place just after it, here’s my trip report.
Clazy Results Visualizer for Qt Web UI to view clazy and gcc warnings
Clazy is a clang plugin which extends the compiler with over 50 warnings related to Qt best practices ranging from unneeded memory allocations to API misuse. It’s an opensource project spawned by KDAB’s R&D efforts for better C++ tooling. Today, we’re proud to announce a Clazy Web UI to view all warnings emitted by Clazy, […]
Hotspot v1.1.0 adds timeline and recording features New release of the GUI for the Linux perf profiler
Close to three months after the initial hotspot release, I’m happy to announce the release of version 1.1.0. Quick recap: Hotspot is a graphical frontend to the Linux perf profiler suite. It allows you to visually analyze perf.data files with the built-in Flame Graph and the Bottom-Up, Top-Down, or Caller-Callee data tables. It is a […]