Tech

Could this new programming language replace C++?

Published

on

  • New programming language known as Carbon could succeed C++.
  • Carbon is expected to be interoperable with C++ code,
  • Carbon has simpler grammar and optimised API imports.

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’s Principal 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.

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

According to Carruth, 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.

Leave a Reply

Your email address will not be published. Required fields are marked *

Trending

Exit mobile version