標(biāo)準(zhǔn)號(hào):ISO/IEC TR 18015-2006
中文標(biāo)準(zhǔn)名稱:信息技術(shù).程序設(shè)計(jì)語(yǔ)言及其環(huán)境和系統(tǒng)軟件接口.C++性能的技術(shù)報(bào)告
英文標(biāo)準(zhǔn)名稱:Information technology - Programming languages, their environments and system software interfaces - Technical Report on C++ Performance
標(biāo)準(zhǔn)類型:L74
發(fā)布日期:2006/9/1 12:00:00
實(shí)施日期:1999/12/31 12:00:00
中國(guó)標(biāo)準(zhǔn)分類號(hào):L74
國(guó)際標(biāo)準(zhǔn)分類號(hào):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.
相關(guān)標(biāo)準(zhǔn)
百檢網(wǎng)專注于為第三方檢測(cè)機(jī)構(gòu)以及中小微企業(yè)搭建互聯(lián)網(wǎng)+檢測(cè)電商服務(wù)平臺(tái),是一個(gè)創(chuàng)新模式的檢驗(yàn)檢測(cè)服務(wù)網(wǎng)站。百檢網(wǎng)致力于為企業(yè)提供便捷、高效的檢測(cè)服務(wù),簡(jiǎn)化檢測(cè)流程,提升檢測(cè)服務(wù)效率,利用互聯(lián)網(wǎng)+檢測(cè)電商,為客戶提供多樣化選擇,從根本上降低檢測(cè)成本提升時(shí)間效率,打破行業(yè)壁壘,打造出行業(yè)創(chuàng)新的檢測(cè)平臺(tái)。
百檢能給您帶來(lái)哪些改變?
1、檢測(cè)行業(yè)全覆蓋,滿足不同的檢測(cè);
2、實(shí)驗(yàn)室全覆蓋,就近分配本地化檢測(cè);
3、工程師一對(duì)一服務(wù),讓檢測(cè)更精準(zhǔn);
4、免費(fèi)初檢,初檢不收取檢測(cè)費(fèi)用;
5、自助下單 快遞免費(fèi)上門取樣;
6、周期短,費(fèi)用低,服務(wù)周到;
7、擁有CMA、CNAS、CAL等權(quán)威資質(zhì);
8、檢測(cè)報(bào)告權(quán)威有效、中國(guó)通用;