Repository navigation
Perimortem 0.4.0
Perimortem 0.4.0 hardens the shared Tetrodotoxin runtime around explicit capability, lifetime and platform boundaries.
Main update:
Core values, allocated containers, serialization, diagnostics and host services now publish the invariants needed to use them safely across allocation policies, arenas, threads and SDK boundaries. The same runtime is packaged for native and Web consumers through Toolchain 0.4.1.
Features:
- Organize Core around Algorithm, View, Access, Storage, Math, Reader, Writer, Diagnostics and Synchronization capabilities.
- Separate Bytes, Vector, Map and Set behavior from Thread, Global and Managed storage policies, with explicit allocation and lifetime contracts.
- Standardize safe View indexing and the
get_view,get_accessand side-effect-freetry_accessconventions. - Add shaped Matrix View, Access and inline Storage forms backed by Core Math domains, bounds and sizes.
- Replace Worker transport policy with a focused native Thread primitive that provides naming, joining and portable failure reporting.
- Add canonical filesystem Paths with captured root, temporary, home, working and executable anchors, plus Directory validation and File fingerprints.
- Define Perimortem's compact JSON dialect, strict tree lifetimes, safe zero-state navigation and bounded formatting behavior.
- Separate Serialization Formats, Encodings and Streams, with fixed-component Version values.
- Harden Deflate input validation while keeping Huffman, Lz77 and bit-stream invariants local to the codec implementation.
- Make diagnostic time, messages, sinks, attribution and synchronization explicit, including deterministic clipping and per-thread file routing.
- Harden Philox thread seeding, native library lifecycle reporting and process argument extraction.
- Run the native validation suite as a standalone WebAssembly program through the pinned Toolchain 0.4.1 Node runner.
- Refresh SDK manifests with explicit static archive and whole-archive link requirements through the Toolchain 0.4.1 hotpatch.
- Separate
Core::Identity::Uuidvalues from UUID text conversion inSerialization::Formats::Uuid. System::Random generates Core identifiers, and System no longer requires Serialization. - Preserve the two-word
perimortem_uuidC record. C++ callers use the Core value type andSerialization::Formats::Uuid::serialize(value)for text output.