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-c
LLM (this repo) · 1PldbWikipediaWikidata · Q7578596

Wikipedia infobox

Pulled from the wikimedia/structured-wikipedia snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and pl_fact.csv for the long-table provenance.

Paradigmsimperative (procedural) · structured · parallel
Typingstatic, weak, manifest
Influenced byC
Homepagehttp://www.eecs.berkeley.edu/Research/Projects/CS/parallel/castle/split-c/

Related languages

Lite-C (0.21)SpecC (0.18)Gambit (0.16)Gambit Scheme (0.16)SpiderBasic (0.16)

LLM-contributed programs

Parallel Array Sum

Provenance: commit 9a4e9e498f · authored 2026-02-13T12:12:43+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.sc · added: 2026-02-13T11:11:30.018099Z
#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.)

Contribute — propose a file extension

Tell us where to find evidence about Split-C (mapped to pl/split-c). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/Split-C/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← Split SplitFuck →