Rust
Aliases: Rustlang
Provenance: commit 32215e5055 · authored 2025-10-22T10:37:24+02:00
Sources mentioning this language
8 sources · pl_id:
pl/rustWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | concurrent · functional · generic · imperative · structured |
|---|---|
| Typing | affine |
| Designed by | The Rust Team |
| First appeared | 2012 |
| Influenced by | Alef · BETA · CLU · C# · C++ · Cyclone · Elm · Erlang · Haskell · Hermes · Limbo · Mesa · Napier · Newsqueak · NIL · OCaml · Ruby · Sather · Scheme · Standard ML · Swift |
| License | MIT, Apache 2.0 |
| Implemented in | OCaml (2006–2011) Rust (2012–present) |
| Homepage | http://foundation.rust-lang.org |
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 |
|---|---|---|---|
.rlib | wikidata | primary | 509.9K files |
.rs | linguist | primary | 40.8M files |
.rs | pygments | primary | 40.8M files |
.rs | wikidata | primary | 40.8M files |
Related languages
LLM-contributed programs
Rustlings
Provenance: commit 32215e5055 · authored 2025-10-22T10:37:24+02:00
fn main() {
println!("Hello, world!");
}
// This is a comment
// This is another comment
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.)
Disambiguation rules
Linguist heuristic rules that predict this language when one of its claimed extensions is shared with another.
| Rule | Ext | Kind | Predicates (truncated) |
|---|---|---|---|
h/linguist/.rs/0 | .rs | predicates | [{"kind": "any", "regexes": ["^(use |fn |mod |pub |macro_rules|impl|#!?\\[)"]}] |