• There are no items in your cart

CAN/CSA-ISO/IEC TR 18015:12 (R2016)

Current

Current

The latest, up-to-date edition.

Information technology - Programming languages, their environments and system software interfaces - Technical report on C++ performance (Adopted ISO/IEC TR 18015:2006, first edition, 2006-09-01)

Available format(s)

Hardcopy , PDF

Language(s)

English

Published date

01-01-2012

Foreword
Introduction
Participants
1 Scope
2 Normative References
3 Terms and definitions
4 Typical Application Areas
5 Language Features: Overheads and Strategies
6 Creating Efficient Libraries
7 Using C++ in Embedded Systems
8 Hardware Addressing Interface
Annex A: Guidelines on Using the Interface
Annex B: Implementing the iohw Interfaces
Annex C: A Implementation for the
         Interface
Annex D: Timing Code
Annex E: Bibliography

Purpose of ISO/IEC TR 18015 is to: - give the reader a model of time and space overheads implied by use of various C++ language and library features, - debunk widespread myths about performance problems, - present techniques for use of C++ in applications where performance matters, and - present techniques for implementing C++ standard language and library facilities to yield efficient code.

Preface Standards development within the Information Technology sector is harmonized with international standards development. Through the CSA Technical Committee on Information Technology (TCIT), Canadians serve as the Canadian Advisory Committee (CAC) on ISO/IEC Joint Technical Committee 1 on Information Technology (ISO/IEC JTC1) for the Standards Council of Canada (SCC), the ISO member body for Canada and sponsor of the Canadian National Committee of the IEC. Also, as a member of the International Telecommunication Union (ITU), Canada participates in the International Telegraph and Telephone Consultative Committee (ITU-T). At the time of publication, ISO/IEC TR 18015:2006 is available from ISO and IEC in English only. CSA will publish the French version when it becomes available from ISO and IEC. Scope The aim of this Technical Report is: 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 applications where performance matters, and to present techniques for implementing C++ Standard language and library facilities to yield efficient code. As far as run-time and space performance are concerned, if you can afford to use C for an application, you can afford to use C++ in a style that uses C++s facilities appropriately for that application. This Technical Report first discusses areas where performance issues matter, such as various forms of embedded systems programming and high-performance numerical computation. After that, the main body of the Technical Report considers the basic cost of using language and library facilities, techniques for writing efficient code, and the special needs of embedded systems programming. Performance implications of object-oriented programming are presented. This discussion rests on measurements of key language facilities supporting OOP, such as classes, class member functions, class hierarchies, virtual functions, multiple inheritance, and run-time type information (RTTI). It is demonstrated that, with the exception of RTTI, current C++ implementations can match hand-written low-level code for equivalent tasks. Similarly, the performance implications of generic programming using templates are discussed. Here, however, the emphasis is on techniques for effective use. Error handling using exceptions is discussed based on another set of measurements. Both time and space overheads are discussed. In addition, the predictability of performance of a given operation is considered. The performance implications of IOStreams and Locales are examined in some detail and many generally useful techniques for time and space optimizations are discussed.

DocumentType
Standard
ISBN
978-1-55491-777-8
Pages
0
ProductNote
Reconfirmed EN
PublisherName
Canadian Standards Association
Status
Current
Supersedes

Standards Relationship
ISO/IEC TR 18015:2006 Identical

View more information
US$198.09
Excluding Tax where applicable

Access your standards online with a subscription

Features

  • Simple online access to standards, technical information and regulations.

  • Critical updates of standards and customisable alerts and notifications.

  • Multi-user online standards collection: secure, flexible and cost effective.