spec: embedding-abi-m3 — frozen value layout + single ADT/record crossing + RC ownership contract (user-approved, grounding-check PASS 8/8); open in-flight [~]
This commit is contained in:
+5
-4
@@ -263,7 +263,7 @@ work progresses.
|
||||
`docs/journals/2026-05-18-audit-embedding-abi-m2.md`;
|
||||
`docs/journals/2026-05-18-iter-embedding-abi-m2.tidy.md`.
|
||||
|
||||
- [ ] **\[milestone\]** Embedding ABI — M3: frozen value layout +
|
||||
- [~] **\[milestone\]** Embedding ABI — M3: frozen value layout +
|
||||
single ADT/record crossing + RC ownership contract. Host
|
||||
constructs a single-ctor record (Int/Float fields), passes it,
|
||||
the kernel returns a record the host reads and frees; the RC
|
||||
@@ -275,9 +275,10 @@ work progresses.
|
||||
value crossing in/out. Coherent stop: a record in/out with
|
||||
alloc==free across many calls.
|
||||
- depends on: Embedding ABI — M2.
|
||||
- context: 2026-05-18 chat. `runtime/rc.c`'s header already
|
||||
anticipates this ("The ABI defined here is stable … unless
|
||||
the layout itself shifts").
|
||||
- context: `docs/specs/2026-05-18-embedding-abi-m3.md`
|
||||
(user-approved, grounding-check PASS 8/8); 2026-05-18 chat.
|
||||
`runtime/rc.c`'s header already anticipates this ("The ABI
|
||||
defined here is stable … unless the layout itself shifts").
|
||||
|
||||
- [ ] **\[milestone\]** Embedding ABI — M4: sequence crossing via
|
||||
the existing `List` ADT. Host builds a `List Record` per chunk;
|
||||
|
||||
Reference in New Issue
Block a user