Intel Proposes Tool To Auto-Convert Code To C++11

Written by Michael Larabel in Programming on 6 December 2012 at 03:36 AM EST. Add A Comment
PROGRAMMING
An Intel developer has proposed a migration tool based upon LLVM's Clang tooling library to auto-convert C++ code to take advantage of new C++11 features in an automated manner.

Edwin Vane of Intel Canada has called for comments on his proposal to develop a Clang-based tool using the LibTooling library for automatically transforming C++ code-bases to take advantage of modern C++11 features without needing any manual code rewriting.

This tool is being dubbed "cpp11-migrate" and hasn't been written yet but Edwin is currently seeking comments on his design document. The premise is that since C++11 introduces many new features for making writing -- and maintaining -- code more convenient to developers and improving the performance over earlier C++ standards, there should be an automated tool for migrating existing C++ code-bases.

The cpp11-migrate goal is to have a single tool that applies code transformations for all C++11 features with implemented transformations, a framework for adding new transformations in a minimally invasive manner, and specific transformations can be independently enabled/disabled via command-line switches.

For developers interested in more information on the cp11-migrate tool, see this mailing list post and the design document on Google Docs.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week