Google Engineers Lift The Lid On Carbon - A Hopeful Successor To C++

Written by Michael Larabel in Programming on 20 July 2022 at 02:30 PM EDT. 206 Comments
PROGRAMMING
In addition to Dart, Golang, and being involved with other programming language initiatives over the years, their latest effort that was made public on Tuesday is Carbon. The Carbon programming language hopes to be the gradual successor to C++ and makes for an easy transition path moving forward.

The hope is that Carbon is a more natural migration path to C++ than the popular Rust programming language. Carbon aims for performance that matches C++, seamless bidirectional interoperability with C++, a easier learning curve for C++ developers, comparable expressivity, and scalable migration.


Sample Carbon code.


Carbon is built atop the LLVM compiler stack and aims to work for performance-critical software, easy understability of code, and offer practical safety. Carbon supports generic, better memory safety than C++, and other modern language features over C++.

Carbon is still in its early stages of development but those wanting to learn more about this new system programming language can check out Carbon-Lang on GitHub.
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