Google Wants To Make C++ More Fun

Written by Michael Larabel in Programming on 16 June 2012 at 09:52 AM EDT. 60 Comments
PROGRAMMING
Following the recent Phoronix article about an LLVM/Clang server (ClangD), here's some slides from a talk by a Google engineer about re-factoring C++ to make it more fun for developers.

The "Refactoring C++ with Clang" talk was presented at the LLVM European Conference earlier this year by Google's Manuel Klimek. When it comes to Google's needs, C++ meets their requirements for performance and productivity, but it's not always fun.

Their plans to make it more fun come down to better tooling support integrated into Clang / libclang for providing correct indentation, automatically fixing style violations, renaming variables, creating code structure, etc. With better tools, editor integration, new libraries, and IDE'ish services they think they can improve things for C++ development. Common code transformations would be autonomous and integrated while being fast and correct. The IDE integration could be with emacs or vi, the command-line itself, or hooked into other integrated development environments like Eclipse.

Their libraries are "in progress" as of April, the tools are coming in early spikes, ClangD is entering design phases, and editor integration is still to be done.

Those interested in learning more about the "Refactoring C++ with Clang" can see the PDF slides and the MOV video. Be sure to have also read the An LLVM/Clang Server Proposed article which is the latest (RFC) update on the ClangD/server side.
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