arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

Writing efficient C++ programs (abstract)

Scott Meyers

· ACM SIGPLAN OOPS Messenger

See on the map

Abstract

This tutorial teaches the competing meanings of high performance; the characteristics of object-oriented systems that can decrease performance; how to locate and eliminate computational bottlenecks in C++ programs; and the trade-offs between high performance and system reusability, maintainability, and portability. It describes in detail the factors that affect the performance of C++ software. Whether your primary concern is high system speed, small system size, fast recompilation, or a combination of these, this tutorial provides you with the tools necessary to come up with an appropriate object- oriented design, to implement it efficiently in C++, and to fine-tune it for maximum performance. The reasons for bottlenecks in C++ programs are often surprising. Contrary to popular belief, virtual functions usually exact a negligible performance cost, while unexpected calls to constructors and destructors frequently hamstring applications. This tutorial teaches you what is really important if you want to deliver high performance, and the techniques you need to achieve it.

More like this