## 🎉 ChatGPT×Claude協働成果 - ✅ **GC機能復活**: vm-legacy削除で失われたGC機能を新実装で復活 - GCメトリクス追跡システム実装(alloc/collect/pause計測) - 3種類のGCモード対応(counting/mark_sweep/generational) - host_handles.rsでハンドル管理復活 - ✅ **VM整理とエイリアス追加**: 混乱していた名前を整理 - MirInterpreter = NyashVm = VM のエイリアス統一 - vm-legacyとインタープリターの違いを明確化 - 壊れていたvm.rsの互換性修復 - ✅ **スモークテスト整理**: v2構造でプラグイン/コア分離 - plugins/ディレクトリにプラグインテスト移動 - gc_metrics.sh, gc_mode_off.sh, async_await.sh追加 - _ensure_fixture.shでプラグイン事前ビルド確認 ## 📊 json_native調査結果 - **現状**: 25%完成(配列/オブジェクトパース未実装) - **将来性**: 並行処理でyyjson超えの可能性大 - 100KB以上のJSONで2-10倍速の可能性 - Nyash ABI実装後はゼロコピー最適化 - **判断**: 現時点では置換不可、将来の大きな足場 ## 🔍 技術的発見 - vm-legacy = 完全なVM実装(GC付き)だった - MirInterpreter = 現在のRust VM(712行、Arc使用) - 200行簡易JSONは既に削除済み(存在しない) ChatGPT爆速修復×Claude詳細調査の完璧な協働! 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
19 lines
980 B
Markdown
19 lines
980 B
Markdown
# Nyash Research Notes (Draft)
|
||
|
||
This folder collects short, structured notes toward potential publications based on the Nyash Phase‑15 work. Each note is self‑contained and links to code paths and smokes for reproducibility.
|
||
|
||
Topics
|
||
- 01 — PHI‑Off Edge‑Copy + Harness PHI Synthesis (phi_off_harness.md)
|
||
- 02 — Structured Exceptions via Result‑Mode (result_mode_exceptions.md)
|
||
- 03 — PHI Observability and Trace Checking (phi_trace_observability.md)
|
||
- 04 — Block‑Postfix Catch Language Design (block_postfix_catch.md)
|
||
|
||
How to Reproduce (quick, v2)
|
||
- Build: `cargo build --release`
|
||
- Run smokes: `tools/smokes/v2/run.sh --profile quick`
|
||
- PHI trace (optional): `NYASH_LLVM_TRACE_PHI=1 NYASH_LLVM_TRACE_OUT=tmp/phi_trace.jsonl bash tools/smokes/phi_trace_local.sh`
|
||
|
||
Notes
|
||
- Target audience: systems and compiler practitioners; emphasis on simplicity, robustness, and observability.
|
||
- Draft status: living documents; code references use stable paths in this repo.
|