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.
Carbon aims to be what TypeScript is to JavaScript, and Kotlin is to Java. It is not a replacement, but a successor language designed around interoperability with C++. It aims for large-scale adoption and migration for existing codebases and developers.
Getting Started With Carbon
You can explore Carbon right now by checking out the codebase and using Carbon explorer:
Install bazelisk using Homebrew.
$ brew install bazelisk
Install Clang/LLVM using Homebrew.
Many Clang/LLVM releases aren't built with options we rely on.
$ brew install llvm
$ export PATH="$(brew --prefix llvm)/bin:${PATH}"
Download Carbon's code.
$ git clone https://github.com/carbon-language/carbon-lang
$ cd carbon-lang
Build and run the explorer.
$ bazel run //explorer -- ./explorer/testdata/print/format_only.carbon
According to the Carbon roadmap, Google will make the experiment public with the release of a core working version (0.1) by the end of 2022. They plan to follow this with a 0.2 version in 2023 and a full 1.0 release in 2024–2025.
Congratulations @keyboard97! You have completed the following achievement on the Hive blockchain and have been rewarded with new badge(s):
Your next target is to reach 50 upvotes.
Your next target is to reach 50 comments.
You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word
STOP
Check out the last post from @hivebuzz:
Support the HiveBuzz project. Vote for our proposal!