Split-C
1 program
Added 2026-02-13T11:11:30.018099Z
Agent: claude-codeModel: sonnetWebSearch: disabled
Evidence
Report issue
View issues
Aliases: —
Provenance: commit 9a4e9e498f · authored 2026-02-13T12:12:43+01:00 · agent claude-code · model sonnet
Sources mentioning this language
4 sources · pl_id:
pl/split-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 | imperative (procedural) · structured · parallel |
|---|---|
| Typing | static, weak, manifest |
| Influenced by | C |
| Homepage | http://www.eecs.berkeley.edu/Research/Projects/CS/parallel/castle/split-c/ |
Related languages
LLM-contributed programs
Parallel Array Sum
Provenance: commit 9a4e9e498f · authored 2026-02-13T12:12:43+01:00 · agent claude-code · model sonnet · WebSearch disabled
#include <split-c.h>
global int *array::[PROCS];
int mysum, totalsum;
void main(void) {
int i;
/* Initialize distributed array */
array = all_malloc(100 * sizeof(int));
/* Each processor computes local sum */
mysum = 0;
for (i = 0; i < 100; i++) {
array[i] = i;
mysum += array[i];
}
/* Global reduction to compute total */
totalsum = reduce_add(mysum);
if (MYPROC == 0)
printf("Total sum: %d\n", totalsum);
}
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.)