ISO/IEC TR 18015-2006 信息技术.程序设计语言及其环境和系统软件接口.C++性能的技术报告
百检网 2021-07-15
标准号:ISO/IEC TR 18015-2006
中文标准名称:信息技术.程序设计语言及其环境和系统软件接口.C++性能的技术报告
英文标准名称:Information technology - Programming languages, their environments and system software interfaces - Technical Report on C++ Performance
标准类型:L74
发布日期:2006/9/1 12:00:00
实施日期:1999/12/31 12:00:00
中国标准分类号:L74
国际标准分类号:35.060
适用范围:The aim of this Technical Report is:- to give the reader a model of time and space overheads implied by use of variousC++ 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 libraryfacilities to yield efficient code.As far as run-time and space performance are concerned, if you can afford to use C foran application, you can afford to use C++ in a style that uses C++’s facilitiesappropriately for that application.This Technical Report first discusses areas where performance issues matter, such asvarious forms of embedded systems programming and high-performance numericalcomputation. After that, the main body of the Technical Report considers the basic costof using language and library facilities, techniques for writing efficient code, and thespecial needs of embedded systems programming.Performance implications of object-oriented programming are presented. This discussionrests on measurements of key language facilities supporting OOP, such as classes, classmember functions, class hierarchies, virtual functions, multiple inheritance, and run-timetype information (RTTI). It is demonstrated that, with the exception of RTTI, currentC++ implementations can match hand-written low-level code for equivalent tasks.Similarly, the performance implications of generic programming using templates arediscussed. Here, however, the emphasis is on techniques for effective use. Errorhandling using exceptions is discussed based on another set of measurements. Both timeand space overheads are discussed. In addition, the predictability of performance of agiven operation is considered.The performance implications of IOStreams and Locales are examined in some detailand many generally useful techniques for time and space optimizations are discussed.The special needs of embedded systems programming are presented, includingROMability and predictability. A separate chapter presents general C and C++ interfacesto the basic hardware facilities of embedded systems.Additional research is continuing into techniques for producing efficient C++ librariesand programs. Please see the WG21 web site at www.open-std.org/jtc1/sc22/wg21 forexample code from this Technical Report and pointers to other sites with relevantinformation.
百检能给您带来哪些改变?
1、检测行业全覆盖,满足不同的检测;
2、实验室全覆盖,就近分配本地化检测;
3、工程师一对一服务,让检测更精准;
4、免费初检,初检不收取检测费用;
5、自助下单 快递免费上门取样;
6、周期短,费用低,服务周到;
7、拥有CMA、CNAS、CAL等权威资质;
8、检测报告权威有效、中国通用;