RSS
Логотип
Баннер в шапке 1
Баннер в шапке 2

Google Carbon

Product
Developers: Google
Last Release Date: 2022/07/21
Technology: Application Development Tools

Content

The main articles are:

2022: Announcement of the Carbon programming language

On July 21, 2022, it became known that Google was creating the Carbon programming language to replace C++.

Google Carbon. Photo: techzine.eu.

As reported, Google employees are working on Carbon, including developer Chandler Carruth. It is not known at what stage the development is, but Google has repeatedly proved that it can create a full-fledged programming language and make it popular.

Google is behind the creation of the GoLang language (from just Go). The corporation also has the Dart language, created as a full-fledged alternative to JavaScript.

Chandler Carruth calls Carbon not a replacement, but a successor to C++. Such examples in world history are also available - for example, Kotlin is considered a successor, and Java used iOS in Swift is the successor to Objective-C. TypeScript from Microsoft is able to completely replace JavaScript. And C++ itself, widely used in Google software products, is also a kind of successor to the original C programming language.

According to the developers, the main thing that Carbon will borrow from C++ is its performance. They emphasize that they managed to eliminate all the existing shortcomings of the original C++.

At the same time, the code on Carbon very much resembles the code on C++; in many cases, they are almost identical. Moreover, the code on Carbon can be integrated into the C++ code at the request of the developer.

C++ programmers who want to completely switch to Carbon will have at their disposal a toolkit for automatic transliteration of C++ libraries into Google code. Reverse migration is also possible - in the future these libraries can be used in an existing C++ project.

All Carbon tools necessary for the developer are posted on the Microsoft portal GitHub and distributed under license Apache 2.0. The Carbon code compiler is written using LLVM (Low Level Virtual Machine), a special software infrastructure for creating compilers. It also used developments from Clang - a compiler for C, C++, Objective-C and Objective-C + +.

It is not yet known what role Google will play in the further development of Carbon. As of July 2022, its staff make up most of the language's development team.

At the same time, Google does not indicate anywhere that Carbon is her project. This is reportedly done deliberately. Despite the fact that the development of Carbon began precisely in the depths of the corporation, all team members understand that for success in the future, Carbon must be an "independent and community-led project," and not exclusively Google's own creation[1].

Notes

Programming languages