Aviva Directory » Computers & Internet » Programming » Carbon

Designed by Google, Carbon is an experimental programming language intended for interoperability with C++.

When the language was first introduced in July 2022, Google engineer Chandler Carruth described the language as a successor to C++. Expected to have a 1.0 release in 2024 or 2025, the language is expected to fix several perceived shortcomings of C++, while providing a similar feature set.

According to Google spokespeople, the chief goals of the language are readability and bi-directional interoperability, allowing the user to include C++ code in the Carbon file, as opposed to using a new language (like Rust) that is not two-way compatible with C++ programs. As the language is still under development, other changes are likely.

Documents, design, implementation, and related tools for Carbon are hosted on GitHub under the Apache 2.0 license with LLVM Exceptions.

The language is influenced heavily by C++, but also by Rust and Swift.

In summary, Carbon is an experimental, open-source, statically-typed programming language started by Google to succeed C++. It is designed to be more efficient and easier to use than traditional programming languages, while offering modern programming practices, including generics, modular code organization, and simple syntax.

Since Carbon is new and still under development, as of this writing, there are many features still to be added, and changes may yet be made before its 1.0 release.

Topics related to the Carbon programming language are the focus of resources listed in this portion of our guide.



Recommended Resources

Search for Carbon on Google or Bing