July 29, 2022
In CPP North Event 2022, Google announced Carbon as an experimental successor of C++. From early documentation, they mentioned that the learning curve would be simple for the developers.
If you are a tech-enthusiast and stay on top of the news, you might know that Google launched the Carbon programming language on 19th July 2022. The tech giant has created many frameworks and has introduced languages in the past like Go and Dart. Golang has gained popularity among developers. However, some groups prefer C++ and JavaScript over Dart. The CPP North Event 2022 was just held, and in essence, it is a gathering of numerous developers to talk about the future advancements of C++. Chandler Carruth (Principal Software engineer) introduced this general-purpose programming language.
Table of Contents
As per Carruth’s explanation, bringing improvements in C++ is difficult. The obstacle to the language’s progress is a bureaucratic committee approach that prioritizes standardization over design. It makes adding new features challenging. Kotlin, Swift, Go, Rust, and many other existing programming languages offer an outstanding development experience.
Developers who are capable of using one of these current languages can keep using those. However, adoption and migration from C++ are severely hindered by the designs of these languages. These aspects led to the development of carbon – an open-source programming language.
Let us know first what is the meaning of the successor language. In line with what Carruth has stated a successor language is defined by the below-mentioned qualities:
Similar to how iOS developers are aware that Swift is the successor for Objective-C, TypeScript considerably improves JavaScript while still being user-friendly. Android developers know very well that Kotlin is the successor to Java. Furthermore, the original C programming language successor is C++, which is extensively used at Google. Some people would argue that Rust, a Mozilla project that has subsequently gained a sizable public following, is a successor for C++. Without a doubt, Rust is a fantastic language to begin a new project. But, it doesn’t have ‘bi-directional interoperability’ and that is why it is challenging to convert a C++ environment to Rust. And now that brings us to the next point: the goals and promises of carbon language.
Carbon might be the next step in the evolution of software and programming languages. According to Github documentation, as an experimental successor of C++, carbon language will support the below-listed goals.
The main emphasis will be on writing and reading simple code. It will also be a language for swift and scalable development. It will support all the existing operating system platforms. It will also include a strengthened and safe testing framework for complicated codes.
For those developers who are proficient in C++, Carbon would be a simple learning curve. It is composed of a fixed set of grammatical constructions that are meant to sound natural and be simple to read and comprehend.
Carbon provides a modern generics system with verified definitions. Yet, opt-in templates are still supported for flawless C++ interoperability.
The generics system delivers C++ templates many benefits, including:
Carbon strives to handle memory safety, a significant issue troubling C++ developers, by:
Want to give it a try? Carbon Explorer is a prototype interpreter demo that can both execute isolated instances and provide a thorough examination of the particular semantic model and abstract machine of Carbon.
You can use the GitHub Discussions or their Discord and use #language-questions to pose queries and hold discussions.
We hope this gives a proper insight into what Carbon is and what this experiment aspires to execute. There is documentation available for developers and tech-savants to resolve every and any queries there may be available. Also, volunteers can contribute to the development process. This new language by Google may take time to be used for real projects, but this open-source technology seems promising to overcome C++ challenges and might change the face of software development.
INDIA
B 401-402, Shilp Corporate Park, Rajpath Rangoli Rd, Thaltej, Ahmedabad, Gujarat 380054
CANADA
1932 50 Ave SW,Calgary, AB T2T 2W2, Canada
© 2025 ultroNeous. All Rights Reserved.