qmetrics.net

Carbon Lang

Experimental successor language interoperating with C++

Carbon Language is an experimental programming language and toolchain aimed at C++ interoperability, migration, and modernization. It is not ready for production use and remains under active development.

Overview

Carbon Language is presented as an experimental successor to C++ rather than a direct incremental evolution of C++. Goals include performance comparable to C++, bidirectional interop with existing C++ code, readable syntax, and a path toward safer subsets including memory safety work.

The project ships design documents, governance plans, and an under-development compiler and linker toolchain built on LLVM-related infrastructure. A browser-based try-out is available through Compiler Explorer, and limited nightly toolchain tarballs are offered for recent Ubuntu-like Linux environments including WSL.

Language design covers generics with checked definitions, class types, inheritance, operator overloading, modular code organization, and optional templates for C++ interop. Planned migration tooling is described for mechanically translating idiomatic C++ into Carbon over time.

Carbon explicitly positions itself alongside other modern languages while focusing on large C++ codebases and developers who need to adopt new code gradually. Memory-safety plans describe staged migration from C++ into an interop-oriented dialect, then incremental adoption of safer APIs and patterns.

Key features

  • Bidirectional C++ interoperability
  • LLVM-oriented compiler toolchain
  • Definition-checked generics system
  • Modular code organization model
  • Migration-oriented successor strategy
  • Browser try-out via Compiler Explorer
  • Open governance and design docs
  • Planned C++-to-Carbon translation tools

Use cases

  • Experimenting with C++ successor syntax
  • Migrating selected C++ libraries gradually
  • Evaluating memory-safety roadmap
  • New Carbon code atop C++ investments
  • Teaching Carbon language design concepts

Tags

Similar software

TypeScript

Typed JavaScript language with compile-time checks

TypeScript adds optional static types to JavaScript and compiles to standard JavaScript. It targets application-scale code on browsers, Node.js, and other JavaScript runtimes.

★ 111.9k⟳ yesterdayApache-2.0

Roslyn

Open-source C# and Visual Basic compiler platform APIs

Roslyn implements the .NET C# and Visual Basic compilers and exposes APIs for analyzing, refactoring, and generating .NET code in tools and applications.

★ 20.8k⟳ todayMIT

GopherJS

Go to JavaScript compiler for browser front-end code

GopherJS translates Go programs into JavaScript so front-end logic can run in browsers. Install the gopherjs CLI to build, test, and serve packages like the standard go tool.

★ 13.2k⟳ 16 days agoBSD-2-Clause

Halide

Embedded language for fast image and array pipelines

Halide helps write high-performance image and array processing code, embedded in C++ or Python. Pipelines compile to CPUs and multiple GPU compute APIs.

★ 6.6k⟳ todayMIT · open core

The Agda Wiki

Dependently typed functional language and interactive proof assistant

Agda combines a dependently typed functional programming language with an interactive environment for writing and checking constructive proofs.

★ 3k⟳ yesterdayMIT

Dingo

Go meta-language transpiling to idiomatic Go

Dingo is a language that compiles to clean Go code, adding Result types, error propagation, pattern matching, and related syntax while staying compatible with the Go toolchain.

★ 1.9k⟳ 2 months agoApache-2.0