Google thinks Carbon, its new programming language, can dethrone C++

Google made revelations about Carbon, a new programming language that the company says could be the successor to C++.

Programming languages ​​are constantly improving and developing, and have been replaced in recent years by models that are even easier to use. Apple’s Swift language has opened up several possibilities to those less experienced than its predecessor, Objective-C, for example.

Many have called Rust a successor to C++, but at a recent event Chandler Carruth, senior software engineer at Google, explained that the programming language, which was originally a product of Mozilla, lacks the same “two-way interoperabilitythan the other tools, which introduces a kind oflanguage barrier” when “translationbetween different programming languages.

As is, new version of Carbon should be interoperable with popular C++ codebut for users looking to upgrade, the migration should be fairly easy.

For those who aren’t sure you want to switch completely, Carruth went into more detail about some of the reasons why Carbon should be considered a powerful successor to the C++ language, including simpler grammar and smoother API imports.

Real advantages

There are other benefits that go beyond the Carbon language, including ethical grounds such as accessibility and the inclusiveness of the project culture. The Carbon family is largely made up of Google employees, but not exclusively. After building on the tech giant’s successes, the Carbon team says it needs to be “an independent and community project” to succeed.

Currently, the Carbon programming language is just an experiment. Its source code can be downloaded for you to try out already, or you can choose to experience it from your browser with the Compiler Explorer web application.

Leave a Comment