Files
hakorune/docs/private/roadmap/phases/phase-20.13/PLAN.md

23 lines
938 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## Plan — Phase 20.13 (Script EXE Replacement)
ステップ(段階置換 / 可逆)
1) 前段EXEの生成Hakoruneスクリプト → AOT
- UsingResolver/Runner決定/採用/前処理を EXE 化
- ランナーからの採用ゲート: `HAKO_RUNNER_USE_SCRIPT_EXE=1`既定OFF
2) Loader の高レベル分岐を EXE 化
- allowlist/policy/探索手順の前段を EXE へ移管
- CABI ローダ最小責務は維持FailFastと短文は不変
3) VM 付随補助の EXE 化
- 軽いディスパッチ/前展開ロジックのみ(意味論は Rust VM に留める)
4) 配布/起動
- dist/bin に前段 EXE を同梱(`runner_prep` など)
- ランナーはゲートONで前段EXEを起動→結果を受理短文/JSON
5) パリティ/性能確認
- 20.12 のベンチを再利用し、性能劣化なしを確認
- スモーク観測(正/負一致・短文)