Supercomputing Networking Research Education Ohio Supercomputer Center Site Map Staff Directory Support

Improving Performance and Error Handling in C++ Programming

Description:

A brief introduction to the traditional big picture of software optimization, algorithms plus data structures, will be provided by several performance analyses of the Standard Template Library. A major section of the course is devoted to studying various idioms and design criteria for the writing of a concrete data class to represent an arithmetic type.
The topics to be covered in that section include:
  • Constructors
  • The principle of lazy evaluation
  • Type conversion
  • Temporary objects
  • Operator overloading
  • Return value optimization

Guidelines for inlining and memory management techniques will be presented. The workshop will conclude with an introduction to exception handling and resource management.

Prerequisites:

Completion of OSC's C++ Programming for Scientists workshop or equivalent

Target Audience:

Intermediate C++ users

Method of Delivery:

Lecture and hands-on laboratory

Handouts:

Jul 10 & 11, 2001, Lecture materials (HTML wrapped JPEGs), Dr. Scott Brozell, OSC