期刊文献+

C++高层次抽象效率分析

Analysis on efficiency of C++ high-level abstraction
下载PDF
导出
摘要 一开始C++是作为C语言的增强版出现的,从增加类开始,C语言不断地增加新特性。在学习C++时可以将其作为一门独立的语言,因为其并不依赖于C语言。《Thinking in C++》认为在运行效率上往往有一个±5%的差异。有说法认为高层次的抽象功能导致了C++的效率下降。为验证这个问题,文章就一些有代表性的案例在封装、继承和多态的性能,并部分与C和Java语言进行的比较,对引起效率下降的可能原因作出总结,并给予相应的解决方案。 At first, C ++ appears as an enhanced version of C, starting with adding classes, and C continues to add new features. It can be used as a stand-alone language when learning C++ because it does not depend on C language. Thinking in C++ thinks there is often a + 5% difference in operational efficiency. There is argument that the high-level abstraction caused C++ efficiency decline. In order to verify this problem, this article summarizes the possible causes of the decline in efficiency and gives corresponding solutions based on the performance of encapsulation, inheritance and polymorphism in some representative cases and some comparison with C and Java.
出处 《无线互联科技》 2017年第23期117-121,共5页 Wireless Internet Technology
关键词 C++ 高层次抽象 面向对象 编译优化 C++ high-level abstraction object-oriented compiler optimization
  • 相关文献

参考文献1

  • 1CHEN Jinfu,Professor,Director,Teaching & Research Office on Urban Planning,Architecture and Urban Planning School,Huazhong University of Science and Technology,PhD Candidate,College of Public Administration,Huazhong University of Science and Technology,Wuhan,P.R.China.REN Lijuan,Postgraduate,Architecture and Urban Planning School,Huazhong University of Science and Technology,Wuhan,P.R.China.YU Cheng,Postgraduate,Architecture and Urban Planning School,Huazhong University of Science and Technology,Wuhan,P.R.China.XU Xiaolei,Postgraduate,Architecture and Urban Planning School,Huazhong University of Science and Technology,Wuhan,P.R.China.LI Xinyan,Lecturer,Architecture and Urban Planning School,Huazhong University of Science and Technology,Wuhan,P.R.China..Remarks on Urban Spatial Growth Management Research[J].China City Planning Review,2010,19(2):52-59. 被引量:181

二级参考文献8

共引文献180

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部