UPC
1 program
Added 2025-10-28T09:00:52Z
Model: x-ai/grok-4-fastTemp: 0.4
Evidence
Report issue
View issues
Aliases: Unified Parallel C
Provenance: commit adffc4e189 · authored 2025-10-28T10:00:52+01:00 · model x-ai/grok-4-fast
Sources mentioning this language
6 sources · pl_id:
pl/unified-parallel-cWikipedia 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 | parallel · message passing · imperative (procedural) · structured |
|---|---|
| Typing | static, weak, manifest |
| Designed by | UPC Consortium |
| Influenced by | C · AC · Split-C · Parallel C Preprocessor |
| Homepage | http://upc-lang.org |
Extensions claimed by this language
1 claim. 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 |
|---|---|---|---|
.upc | linguist | primary | 7.3K files |
Related languages
Unified Parallel C (1.00)pH (0.22)Data Parallel Haskell (0.19)UFL (0.19)Glasgow Parallel Haskell (0.17)
LLM-contributed programs
Shared Variable Access Example
Provenance: commit adffc4e189 · authored 2025-10-28T10:00:52+01:00 · model x-ai/grok-4-fast · Temp 0.4
#include <upc.h>
#include <stdio.h>
shared int foo;
int main() {
if (MYTHREAD==0) foo = 42;
upc_barrier;
printf("THREAD %d sees foo = %d\n", MYTHREAD, foo);
return 0;
}
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.)