Google creates a killer C++ program


The internet giant has created a new programming language called Carbon, which uses the world’s most famous C++ language, profile resource 9to5Google reported. The presentation took place at the Cpp North Conference in Toronto (Canada).

At Google, people are working on Carbon, including developer Chandler Carruth. At what stage was the development planned. Although it is not yet complete, it has been proven that it can develop a full-fledged programming language and make it popular.

From Go to Google, the language is created with GoLang. The company also has the Dart language, which was developed as a complete alternative to JavaScript.

Chandler Carruth calls Carbon a non-descriptor, but a model of C++. There are examples in world history, such as Kotlin and Java, and the Swift used in iOS is the follow-up to Objective-C. Microsoft’s TypeScript is able to completely replace JavaScript. And C++ itself, widely used in Google’s software products, is, along with its predecessor, a new version of the original C programming language written 9to5Mac.

The new language has its own characteristics.

According to the developers, the capital of its development is its performance. They point out that they succeeded in eradicating all the existing shortcomings of C++.

Similarly, Carbon code is very similar to C++ code; in many cases they are nearly identical. Additionally, Carbon code can be embedded in C++ code unless requested by the developer.

Code examples in C++ (left) and Carbon. Minimum differences

Programmers who want to switch entirely to Carbon have a toolkit to transliterate C++ libraries into Google’s new language code. Some reverse migrations may be allowed, but many libraries can also be used in a real C++ project.

The Carbon tools a developer needs are maintained on Microsoft’s GitHub portal and distributed by Apache 2.0. The Carbon code compiler is written using an LLVM (Low Level Virtual Machine) – a special software framework that creates compilers. He used Clang development, a compiler for C, C, ++, Objective-C and Objective-C++.

Google involvement

I don’t know yet what role Google will play in the future development of Carbon. Currently, its employees constitute the majority of the development team of this language.

Similarly, Google nowhere indicates that Carbon is the exact design of its project. According to 9to5Mac, this was done on purpose. While the development of Carbon began in the hands of the company, everyone on the team believes that the failure of Carbon should be an independent, community-driven project and not just a Google-engineered design.

C++ point of view

C++ is very old. It appeared in 1985 and is an increasingly popular programming language. There’s only Python, C, and Java ahead of it.

Since 2001, the C++ language has not descended to the fifth line. Two of the top 5 names were created last February and in 2003 a TIOBE expert awarded the language of the year title to the world champion.

In May 2019, C++ moved up to number three, which is its best performer at the time of publication. We all know that Carbon has a short time to become an industry guru.

On the contrary, there is no option of such an outcome. Go, a Google language, is about the same age as you. Google released it in November 2009 and in less than 13 years it has surpassed Objective-C, Perl, Ruby, Rust and many other popular programming languages.

How soon will Carbon become one of the biggest programming languages ​​in the world, the experts at 9to5Mac can tell. Chandler Carruth, one of its creators, said that Carbon was now just an experiment. Others have already seen a lot of interest from Carruth. The developers did not give their names.


About Author

Comments are closed.