Carbon
1 program
Added 2025-10-23T07:20:04Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 4a56663cd7 · authored 2025-10-23T09:20:04+02:00 · model x-ai/grok-4-fast
Sources mentioning this language
6 sources · pl_id:
pl/carbonWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Typing | static, nominative, partly inferred |
|---|---|
| Designed by | |
| Influenced by | C++ · Rust · Zig · Haskell · Kotlin · Swift |
| License | Apache-2.0-with-LLVM-Exception |
| Implemented in | C++ |
| Homepage | https://github.com/carbon-language |
Extensions claimed by this language
4 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.carbon | linguist | primary | 34.6K files |
.carbon | pygments | primary | 34.6K files |
.carbon | wikidata | primary | 34.6K files |
.co2 | wikidata | deprecated | 5.1K files |
Related languages
LLM-contributed programs
Hello World Sample
Provenance: commit 4a56663cd7 · authored 2025-10-23T09:20:04+02:00 · model x-ai/grok-4-fast · Temp 0.4
// Copyright 2022 The Carbon Language Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
#include "sample/print.h"
fn Main() -> i32 {
Print("Hello, world!");
return .Ok;
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)