Carbon
Carbon is an experimental Google language conceived as a possible successor to C++, able to interoperate with it bidirectionally. It aims to offer a modernization path for huge C++ codebases, with cleaner syntax and tooling. Still in an early phase.
- Creado por Google
- Año 2022
- Paradigma: Multi-paradigm · compiled
- Extensiones: .carbon
Para qué se usa
- Experimental C++ successor
- C++ interoperability
- Code migration
A favor
- Interoperates with C++
- Cleaner syntax
- Google backing
En contra
- Experimental (not usable yet)
- No guaranteed future
- Early phase
Ecosistema
- Carbon toolchain
- C++ interop
- Bazel
Ejemplo
fn Main() -> i32 {
Core.Print("¡Hola, mundo!");
return 0;
}