Expand description
Runtime values.
Structs§
- Actor
Cell - Internal state of a
conc.Actor. Protected by aMutexso that theLexhandler variant serialises on message delivery (one message processed at a time, state mutated under the lock). Thehandleris dispatched on the calling VM’s thread — no extra OS thread required — which lets Lex handlers invoke arbitrary effects (sql, net, …) through the same handler chain. - Native
Actor Handler - Erased Rust-side handler for
ActorHandler::Native. Boxed so we can store any closure that captures (e.g. anmpsc::Sender). Wrapped inArcso cloning anActorCell(which the existingconc.tellflow does —let handler = guard.handler.clone()) is cheap and the closure isn’t duplicated.
Enums§
- Actor
Handler - Two ways an actor’s handler can be implemented.
- MapKey
- Hashable, ordered key for
Value::Map/Value::Set. v1 supportsStrandInt; extending to other primitives or to records is forward-compatible since the type is not exposed to user code beyond the surface API. - Value
Constants§
- NO_
SHAPE_ ID - Sentinel
shape_idfor records constructed outside anOp::MakeRecordsite (#462 slice 2).Program::record_shapesis bounded byu32::MAX - 1in practice (each compile-time record literal adds one entry), so reserving the top of theu32range as “no shape” keepsValue::Record.shape_ida flatu32— theOp::GetFieldIC’s hot path is a single u32 compare, noOptiondiscriminant.