Carbon (programming language)

 My View about Carbon Languge

What is Carbon?

Google engineers developed the Carbon programming language to address the shortcomings of C++.

Many existing languages like Golang and Rust already exist that mirror the performance of C++ without its shortcomings. Unfortunately, these languages present significant barriers to the migration of existing C++ codebases.

The language intends to fix several perceived shortcomings of C++ but otherwise provides a similar feature set. The main goals of the language are readability and "bi-directional interoperability", as opposed to using a new language like Rust. Similar to the ISO process used by C++, ch
anges to the language will be decided by 
community consensus .

Carbon aims to provide a gentle learning curve for C++ developers, with a standard, consistent set of language constructs.

For example, take this C++ code:



Translated to Carbon, it becomes:







Comments