Search⌘ K
AI Features

Technical Report on C++ Performance

Understand the performance characteristics of various C++ features as analyzed in the ISO/IEC TR 18015 technical report. Learn about the overhead of casts, inheritance, virtual functions, exception handling, and templates. This lesson helps you grasp how to write efficient C++ code for embedded and safety-critical applications by debunking myths and presenting expert recommendations.

We'll cover the following...

The Working Group WG 21 published the ISO/IEC TR 18015, a document that is the ultimate source on the performance numbers of the C++ features. The document expresses its concerns directly.

  • To give the reader a model of time and space overheads implied by use of various C++ language and library features,
  • To debunk widespread myths about performance problems,
  • To present techniques for use of C++ in performance applications, and
  • To present techniques for implementing C++ Standard language and library facilities to yield efficient code.

The paper documents the work of experts like Dave Abrahams, Howard Hinnand, Dietmar Kühl, Dan Saks, Bill Seymour, Bjarne Stroustrup, and Detlef Vollmann.

C++ Features, Overhead, and Usage

The authors of the Technical Report on C++ Performance used three computer architectures with five ...