docs: Update Phase 9.79b progress - ChatGPT5's implementation advances

- Phase 9.79b.1:  Minimal scope achieved (method_id introduction)
- Phase 9.79b.2:  Minimum completed
  - Universal fast-path thunks (toString/type/equals/clone)
  - Monomorphic PIC with 8-hit threshold for promotion
  - PluginBoxV2 fast-path with minimal TLV support
  - Lazy seed/reservation for builtin/plugin/user slots
  - Version-based cache invalidation framework
- Phase 9.79b.3: → In progress (TypeMeta/Thunk + Poly-PIC + Diagnostics)

🤖 ChatGPT5 is making solid progress on the unified box design implementation\!
This commit is contained in:
Moe Charm
2025-08-27 00:06:40 +09:00
parent edf5ccfcb4
commit e5515ea5e9

View File

@ -2,8 +2,8 @@
コンテキストを最小化して、次フェーズへの導線だけ残すにゃ。 コンテキストを最小化して、次フェーズへの導線だけ残すにゃ。
## ⏱️ 今日のフォーカスPhase 9.79b: Unified IDs → VM Thunks ## ⏱️ 今日のフォーカスPhase 9.79b → 9.79b.3: Thunks+Poly-PIC
- 目的: Box種別builtin/user/pluginMIR/VMで数値IDスロット統一に移行し、Phase 10(JIT)の足場を固める。 - 目的: Boxbuiltin/user/pluginを数値IDスロットvtable/thunk統一に移行し、Phase 10(JIT)の足場を確立する。
### 直近タスク(小さく早く) ### 直近タスク(小さく早く)
1) 9.79b.1: Unified Registry IDs + Builder Slotting 1) 9.79b.1: Unified Registry IDs + Builder Slotting
@ -14,6 +14,14 @@
- `execute_boxcall`をvtable+thunkの単一路線へユニバーサル0..3のfast-path追加✅ スケルトン - `execute_boxcall`をvtable+thunkの単一路線へユニバーサル0..3のfast-path追加✅ スケルトン
- call-site単位のモモーフィックPICを追加Key設計とカウンタ導入・記録まで✅ スケルトン - call-site単位のモモーフィックPICを追加Key設計とカウンタ導入・記録まで✅ スケルトン
- 次: 安定閾値での直呼び最適化InstanceBox関数名キャッシュ✅ 実装PIC=8で昇格 - 次: 安定閾値での直呼び最適化InstanceBox関数名キャッシュ✅ 実装PIC=8で昇格
- PluginBoxV2 fast-pathmethod_id直叩き✅ 最小TLVstring/int/handle
- builtin/plugin/user のslot seed4〜✅ lazy seed/予約
- キャッシュ無効化version by label✅ loader/宣言でbump導線
3) 9.79b.3: VM VTable Thunks + Poly-PIC本実装
- TypeMetaThunkテーブル正式化slot→thunk→target: builtin/user/plugin 統一in_progress
- PICをpoly2〜4件に拡張version検証: ヒット/ミス/昇格/evict統計in_progress
- Diagnostics: Registry dump / MIRDebugInfo / PIC・VT統計 / cache bumpログin_progress
### すぐ試せるコマンド ### すぐ試せるコマンド
```bash ```bash
@ -32,7 +40,8 @@ cargo build --release -j32
### ⏭️ 次9.79b ### ⏭️ 次9.79b
- 9.79b.1: `phase_9_79b_1_unified_registry_ids_and_builder_slotting.md` ✅ 最小スコープ達成method_id導入 - 9.79b.1: `phase_9_79b_1_unified_registry_ids_and_builder_slotting.md` ✅ 最小スコープ達成method_id導入
- 9.79b.2: `phase_9_79b_2_vm_vtable_thunks_and_pic.md` → 着手予定 - 9.79b.2: `phase_9_79b_2_vm_vtable_thunks_and_pic.md` ✅ ミニマム完了(ユニバーサル/PIC/Plugin fast-path
- 9.79b.3: `phase_9_79b_3_vm_vtable_thunks_and_pic.md` → 足場固めTypeMeta/Thunk + Poly-PIC + Diagnostics
## 統一Box設計メモ唯一参照 ## 統一Box設計メモ唯一参照
- `docs/ideas/other/2025-08-25-unified-box-design-deep-analysis.md` - `docs/ideas/other/2025-08-25-unified-box-design-deep-analysis.md`