Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Channels are the only cross-fiber data path

Platform spec ADR

Channels are the only cross-fiber data path

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Shared mutable stacks across fibers would break GC stack maps and the memory model. The runtime must align with language channel-only rules.

RuleDetail
MechanismChannels are the only approved cross-fiber data transfer at runtime
Happens-beforeSuccessful Send happens-before Receive that observes the value
ValuesCopied or heap handles with GC tracing — no stack pointer transfer
Builtinschannel_*, mutex_*, wait_group_* implement queues and coordination
CompilerMust not lower cross-fiber stack sharing

Corelib policy: D-CORE-CONC-0009.

New sync primitives require spec + ABI + corelib trifecta before export.

beskid_runtime channel tests; git 12ee673.