# Carbon

> An experimental successor to C++

Source: https://talira.ai/catalog/carbon-hx555023
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages](https://talira.ai/categories/developer-tools/programming-languages)
- Platforms: linux[^1]
- Licence: Apache-2.0 WITH LLVM-exception[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Runs as: Native[^1]
- Backed by: [Carbon Language project](https://talira.ai/orgs/carbon-language.md)

Carbon is an experimental successor language to C++, designed for performance matching C++ through LLVM and for seamless, bidirectional interoperability with existing C++ code, so one library in a C++ stack can move to Carbon without porting the rest. It has a modern generics system with fully type-checked definitions, opt-in templates for C++ interop, and a planned incremental path to a memory-safe subset, with migration tools to translate idiomatic C++ into Carbon. It's not ready for use: the compiler and toolchain are under development, with nightly builds and an online playground on Compiler Explorer while the project works towards its 0.1 release. Apache-2.0 with LLVM Exceptions.

## Links

- Website: https://docs.carbon-lang.dev/
- GitHub: https://github.com/carbon-language/carbon-lang
- Docs: https://docs.carbon-lang.dev/

## Libraries for C++

- [Godot Engine](https://talira.ai/catalog/godot-engine-spb1hpcn.md)
- [Protocol Buffers](https://talira.ai/catalog/protocol-buffers-6w9h1xsc.md)
- [LLVM](https://talira.ai/catalog/llvm-6zghekva.md)
- [Faiss](https://talira.ai/catalog/faiss-w3fpeae3.md)
- [.NET](https://talira.ai/catalog/net-9p8d54vj.md)
- [Wasmtime](https://talira.ai/catalog/wasmtime-qnq3qdvh.md)
- [OpenJDK](https://talira.ai/catalog/openjdk-hs4jrhrd.md)
- [ImageMagick](https://talira.ai/catalog/imagemagick-yw9v07z4.md)
- [Eclipse Mosquitto](https://talira.ai/catalog/eclipse-mosquitto-r094eym6.md)
- [chDB](https://talira.ai/catalog/chdb-5gk8nzaa.md)
- [OpenFeature](https://talira.ai/catalog/openfeature-04etgx3r.md)
- [ironpress](https://talira.ai/catalog/ironpress-g94sb527.md)
- [gRPC](https://talira.ai/catalog/grpc-gdszpcny.md)
- [Tink](https://talira.ai/catalog/tink-z05yxn2s.md)
- [qpdf](https://talira.ai/catalog/qpdf-m21640ex.md)
- [llama.cpp](https://talira.ai/catalog/llama-cpp-g0rydd64.md)
- [Realm](https://talira.ai/catalog/realm-rbjz5m12.md)
- [BugSnag](https://talira.ai/catalog/bugsnag-v9288p03.md)
- [Adobe PDF Library](https://talira.ai/catalog/adobe-pdf-library-m7qmy157.md)
- [Apache Casbin](https://talira.ai/catalog/apache-casbin-q0j8c46t.md)
- [NVIDIA Dynamo-Triton](https://talira.ai/catalog/nvidia-dynamo-triton-fng441hm.md)
- [OpenTelemetry](https://talira.ai/catalog/opentelemetry-7914wvb6.md)
- [Firebase Cloud Messaging](https://talira.ai/catalog/firebase-cloud-messaging-ja4p6sw8.md)
- [LevelDB](https://talira.ai/catalog/leveldb-z4h1pevv.md)
- [Apache OpenDAL](https://talira.ai/catalog/apache-opendal-ymhkxggr.md)
- [V8](https://talira.ai/catalog/v8-yth24qvy.md)
- [Apryse SDK (WebViewer)](https://talira.ai/catalog/apryse-sdk-webviewer-69z3ztef.md)
- [Valhalla](https://talira.ai/catalog/valhalla-w2dwe1jk.md)
- [ONNX Runtime](https://talira.ai/catalog/onnx-runtime-82vyrppc.md)
- [RE2](https://talira.ai/catalog/re2-kxzg91d9.md)
- [ICU4X](https://talira.ai/catalog/icu4x-50ae267t.md)
- [ALTCHA](https://talira.ai/catalog/altcha-xcv5068r.md)
- [Firebase Authentication](https://talira.ai/catalog/firebase-authentication-aw9d5ygh.md)
- [dora](https://talira.ai/catalog/dora-nk9wq28k.md)
- [Open Source Routing Machine (OSRM)](https://talira.ai/catalog/open-source-routing-machine-osrm-xnyb2y7q.md)
- [RocksDB](https://talira.ai/catalog/rocksdb-2613tyv8.md)
- [TensorFlow](https://talira.ai/catalog/tensorflow-rqdrd1fq.md)
- [MLX](https://talira.ai/catalog/mlx-xz8zv9bv.md)
- [JavaScriptCore](https://talira.ai/catalog/javascriptcore-m7b1hmdq.md)
- [GoogleTest](https://talira.ai/catalog/googletest-e6rtzptx.md)
- [Apache Arrow](https://talira.ai/catalog/apache-arrow-22jgw1qa.md)
- [NW.js](https://talira.ai/catalog/nw-js-cbhgnhpk.md)
- [JSON for Modern C++](https://talira.ai/catalog/json-for-modern-c-3jakz8vw.md)
- [libpcap](https://talira.ai/catalog/libpcap-qt4dvtby.md)
- [APT](https://talira.ai/catalog/apt-d7essv0z.md)
- [Pipecat](https://talira.ai/catalog/pipecat-jwrwkfsd.md)
- [ModSecurity](https://talira.ai/catalog/modsecurity-8j8b9ahs.md)
- [Socket.IO](https://talira.ai/catalog/socket-io-npx78w1e.md)
- [openFrameworks](https://talira.ai/catalog/openframeworks-1dkbk08n.md)
- [Tesseract](https://talira.ai/catalog/tesseract-n5wxbj3p.md)

Browse all of them: [58 libraries](https://talira.ai/catalog?type=library&language=cpp), [12 frameworks](https://talira.ai/catalog?type=framework&language=cpp), [15 APIs](https://talira.ai/catalog?type=api&language=cpp).

## Problems it solves

- our huge C++ codebase is hard to evolve and I want a modern language that can call it directly
- move one C++ library at a time to a safer language without rewriting the whole application
- C++ templates give awful error messages and I want generics that are checked up front
- a successor to C++ that keeps its performance and works with our existing build system
- follow an experimental systems language designed for migrating away from C++

## Features

- bidirectional interoperability with C++
- performance matching C++ through LLVM
- checked generics with opt-in templates
- planned automated migration from C++
- nightly toolchain builds and a Compiler Explorer playground

## Limitations

- Experimental and not ready for use: there is no 0.1 release yet, only nightly toolchain builds.[^1]
- Nightly builds are available only for limited platforms, such as recent Ubuntu Linux.[^1]
- C++ interop is still being built: the toolchain doesn't yet support calling most C++ APIs.[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.32 out of 1.
Signals: backing 0.30, extensibility 0.20.

- backed by Carbon Language project

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Zig](https://talira.ai/catalog/zig-jr9cx57x.md): A general-purpose programming language and toolchain for maintaining robust, optimal and reusable software
- [Rust](https://talira.ai/catalog/rust-mf51vs5t.md): A language empowering everyone to build reliable and efficient software.
- [C#](https://talira.ai/catalog/c-0mbbvwr3.md): A modern, open-source programming language
- [Swift](https://talira.ai/catalog/swift-05qrpmw7.md): A general-purpose programming language that's approachable for newcomers and powerful for experts
- [Nim](https://talira.ai/catalog/nim-3m3rmbc0.md): Efficient, expressive, elegant
- [C++](https://talira.ai/catalog/c-1n2509q6.md): A general-purpose programming language with a bias towards systems programming

## Sources

[^1]: https://github.com/carbon-language/carbon-lang/blob/trunk/README.md (checked 23 Nov 2026)
[^2]: https://github.com/carbon-language/carbon-lang/blob/trunk/LICENSE (checked 23 Nov 2026)
