CnC
1 program
Added 2026-03-05T10:00:00Z
Agent: claude-codeModel: claude-sonnet-4-6WebSearch: disabled
Evidence
Report issue
View issues
Aliases: Concurrent Collections, Intel CnC, CnC-HJ
Provenance: commit 5dac574b6c · authored 2026-03-05T00:23:13+01:00 · agent claude-code · model claude-sonnet-4-6
Sources mentioning this language
3 sources · pl_id:
pl/intel-concurrent-collectionsRelated languages
LLM-contributed programs
SimpleGraph
Provenance: commit 5dac574b6c · authored 2026-03-05T00:23:13+01:00 · agent claude-code · model claude-sonnet-4-6 · WebSearch disabled
////////////////////////////////////////////////////////////////////////////////
// Author: Nick Vrvilo (nick.vrvilo@rice.edu)
////////////////////////////////////////////////////////////////////////////////
/* Really simple CnC example:
* The init function prescribes an "SX" and an "SY" step instance.
* Each step puts a single integer item to the corresponding item collection.
* (The value of the integer put matches the step's tag value.)
* The finalize function reads two two items and prints their values.
*/
[ int X: () ];
[ int Y: () ];
( $initialize: () ) -> ( SX: 1 ), ( SY: 2 );
( SX: x ) -> [ X: () ];
( SY: y ) -> [ Y: () ];
( $finalize: () ) <- [ X: () ], [ Y: () ];
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.)