concengine

v1 — first cultivation

A naturalist's folio of computational botany. Algorithms rendered as root systems, threads as climbing vines, mutex locks as thorns on a stem.

Shared State

Two processes reach into the same soil. Their roots intertwine beneath the surface — neither knows where one ends and the other begins. The shared substrate nourishes both, but also binds them. Pull one stem and the other trembles.

Radix communis — the common root pattern. In concurrent systems, shared mutable state is the soil from which both progress and peril grow. Every read is a tendril seeking nutrients; every write reshapes the ground for all.

shared memory is the mycorrhizal network of computation

1

Deadlock

A vine that grows back into its own stem, sealing itself in an embrace it cannot release. Two processes, each holding what the other needs, each waiting for what the other holds. The garden freezes mid-bloom.

Hedera reflexa — the self-clasping ivy. In nature, feedback loops sustain; in computation, they petrify. The deadlocked vine is perfectly alive and perfectly still.

circular waiting — the garden holds its breath

2

Event Ordering

Flowers open in sequence along the spiral of a stem, each bud waiting for the one before it to unfurl. The order is not arbitrary; it is the stem's own geometry that dictates the sequence. Time is topological, not chronological.

Spira ordinata — the ordered spiral. Lamport's logical clock finds its analogue in the phyllotactic spiral: events are ordered not by when they happen, but by where they sit on the stem.

each bloom waits for the one before — Lamport's garden

3

Message Passing

Pollen drifts between flowers on invisible channels — no shared soil, no intertwined roots. Each flower is an island, complete and self-contained. Communication happens through the air, through ephemeral particles that carry meaning between isolated organisms.

Pollen canalis — the channel bearer. Go's philosophy made botanical: do not communicate by sharing memory; share memory by communicating. The wind carries goroutines between blossoms.

The elegance of message passing is the elegance of distance. No shared mutable state, no locks, no contention — only the patient drift of structured data through typed conduits.

do not communicate by sharing soil

4

Semaphore

A garden with a gate that counts. Three may enter; the fourth must wait at the threshold until one departs. The semaphore is the gardener's ledger — not a lock, but a measure of capacity. The garden breathes: processes enter, processes leave, the count rises and falls like the tide in a tidal pool.

Porta numerata — the numbered gate. Dijkstra's semaphore reimagined as horticultural crowd control. The garden can sustain only so many visitors before the soil is exhausted.

three may enter; the fourth must wait

5

The Complete Specimen

Every concurrent system is a garden tended by invisible hands. The roots share soil or grow apart; the vines climb or loop back; the flowers bloom in sequence or scatter their pollen on the wind. To understand concurrency is to understand ecology — the study of organisms that must coexist in a finite world.

This folio is a first cultivation. The specimens are incomplete, the annotations rough, the taxonomy provisional. But the garden grows. The engine runs. The roots reach deeper.

— end of folio, first edition —