The Standard Library as Architecture
Arcmakes Arrow buffers, chunks, stores, and runtime services cheap to pass across readers without copying image or point data.Weaklets handles observe shared recording state without forcing it to stay alive forever.MutexandRwLockdistinguish small mutable control state from stores with many readers and serialized insertion.AtomicI64assigns recording ticks without acquiring the larger stream lock.HashMap, range maps, and ordered indexes encode the multiple lookup axes of entity, timeline, component, chunk ID, and time.std::thread::JoinHandleproves ownership of native batcher/forwarder lifecycle. Drop sends shutdown and joins after disconnecting bounded output so teardown cannot deadlock on a full queue.std::sync::mpsc::sync_channel(0)appears as a tiny acknowledgement rendezvous for operations such as flush; it is not confused with the bulk data path.cfg(target_arch = "wasm32")makes absent platform capabilities explicit at compile time.
The standard library defines who owns long-lived state. Tokio, Crossbeam,
Rayon, egui, Arrow, and wgpu fill narrower execution and representation roles.