首页> 外文会议>IEEE International Working Conference on Source Code Analysis and Manipulation >Transforming C++11 Code to C++03 to Support Legacy Compilation Environments
【24h】

Transforming C++11 Code to C++03 to Support Legacy Compilation Environments

机译:将C ++ 11代码转换为C ++ 03以支持旧版编译环境

获取原文

摘要

Newer technologies - programming languages, environments, libraries - change very rapidly. However, various internal and external constraints often prevent projects from quickly adopting to these changes. Customers may require specific platform compatibility from a software vendor, for example. In this work, we deal with such an issue in the context of the C++ programming language. Our industrial partner is required to use SDKs that support only older C++ language editions. They, however, would like to allow their developers to use the newest language constructs in their code. To address this problem, we created a source code transformation framework to automatically backport source code written according to the C++11 standard to its functionally equivalent C++03 variant. With our framework developers are free to exploit the latest language features, while production code is still built by using a restricted set of available language constructs. This paper reports on the technical details of the transformation engine, and our experiences in applying it on two large industrial code bases and four open-source systems. Our solution is freely available and open-source.
机译:较新的技术-编程语言,环境,库-瞬息万变。但是,各种内部和外部约束通常会阻止项目迅速采用这些更改。例如,客户可能需要软件供应商的特定平台兼容性。在这项工作中,我们将在C ++编程语言的背景下处理此类问题。我们的行业合作伙伴必须使用仅支持较旧的C ++语言版本的SDK。但是,他们希望允许其开发人员在其代码中使用最新的语言构造。为了解决此问题,我们创建了一个源代码转换框架,以自动将根据C ++ 11标准编写的源代码回移植到其功能等效的C ++ 03变体中。使用我们的框架,开发人员可以自由地利用最新的语言功能,而生产代码仍然是通过使用一组有限的可用语言构造来构建的。本文报告了转换引擎的技术细节,以及我们在两个大型工业代码库和四个开源系统上应用转换引擎的经验。我们的解决方案可免费获得并且是开源的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号