首页> 外文会议> >A generalized expression optimization hook for C++ on a high-performance architectures
【24h】

A generalized expression optimization hook for C++ on a high-performance architectures

机译:高性能体系结构上的C ++通用表达式优化挂钩

获取原文
获取外文期刊封面目录资料

摘要

C++ has gained broad acceptance as an object-oriented evolutionary extension to the C language, but it severely constrains methods for operating on class objects by forcing all data manipulation through an interface which assumes that all basic operations can be implemented as they are written: as unary or binary operators. C++ allows great flexibility in the creation of complex data structures which can perform the same functionality as built-in types of many other languages but unfortunately it does not allow an equivalent level of feasibility so that operators acting on those data types can achieve the same level of efficiency as their counterparts in language-level implementations. This limitation becomes even more pronounced on high-performance computers whose advanced features require considerable cooperation between the algorithm, the compiler, and the architecture for maximum performance. This paper describes a language enhancement proposal: a special member function which interacts with overloaded operators as complete expressions.
机译:C ++作为对C语言的面向对象的进化扩展而得到了广泛的接受,但是它通过强制通过接口假定所有基本操作都可以在编写时实现的接口来强制所有数据操作,从而严重限制了用于对类对象进行操作的方法。一元或二进制运算符。 C ++在创建复杂的数据结构时具有极大的灵活性,该结构可以执行与许多其他语言的内置类型相同的功能,但是不幸的是,它不允许具有同等水平的可行性,因此对那些数据类型起作用的操作员可以达到相同的水平。与在语言级别的实现中的效率一样。在其高级功能需要算法,编译器和体系结构之间进行大量协作才能获得最高性能的高性能计算机上,此限制变得更加明显。本文介绍了一种语言增强建议:一个特殊的成员函数,该函数与重载运算符进行交互以作为完整的表达式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号