spec: accept RFC 0008 and integrate heap, regions and budgets

- spec 03 §18-§21: allocation authority and live-byte budgets, heap
  (own.new/array/take/free), regions (create/new/array/reset/destroy,
  static generations, E2104 on live references)
- spec 05 §11.2, 07 §8.9, 07a summary, 08 §11.2 region allocation paths
  and the ok-parameter exception to borrow_joins
- registries: alloc_error, mem.alloc budget form, mandatory deterministic
  budget; heap and regions published
This commit is contained in:
dev committed 2026-10-04 14:20:40 +03:00
1 parent d4d641ad84
commit b8d4ab4d4c
8 files changed
+154 -7

No files matched your search

+2 -1
View File
@@ -1,8 +1,9 @@
# RFC 0008: Heap Allocation, Regions and Allocation Budgets
Status: Proposed (revision 2: owner review applied)
Status: Accepted (revision 2, after owner review)
Scope: AIR format 0, features `heap` and `regions`; `mem.alloc` narrowing
Language version: 0.1
Integrated into: spec 03 §18–§21; spec 05 §11.2; spec 07 §8.9; spec 07a; spec 08 §11.2, §11.6; `reference/capabilities.md`, `reference/air-features.md`
Supersedes: —
Builds on RFC 0005 (frame storage, second-class borrows), RFC 0006 (capabilities) and RFC 0007 (linear values, fallible terminators). Realizes spec 03 §7–§8 under the decision Q-010 (static region generations).