Sci-tech

Could this new programming language replace C++?

Google believes Carbon could succeed C++ as it has simpler grammar and optimised API imports

Web Desk
July 30, 2022
Mintor showing C++.—Unsplash
Mintor showing C++.—Unsplash


Google believes that a new programming language known as Carbon can succeed C++, reported Tech Radar.

New programming languages that are easier to use keep replacing old ones. For example, Apple's Swift language replaced its predecessor, Objective-C.

Some have called Rust a C++ successor but Google'sPrincipal Software Engineer Chandler Carruth said that it does not have“bi-directional interoperability” introducing a language barrier. This makes translation between different programming languages difficult.

[RELATED POSTS related_post1]

Carbon is expected to be interoperable with C++ code and users should find it easy to make the full switch.

According toCarruth, Carbon has simpler grammar and optimised API imports.

The project also has ethical motives like inclusivity making it even more beneficial for users.

Carbon's source code can be downloaded as the programming language is currently just an experiment. Users can experiment on their own browsers with the Compiler Explorer web app.


Advertisement