Files
hakorune/docs/papers/nyash-unified-lifecycle/figures/README.md
Moe Charm 12adde9477 🎉 Phase 10.10: Nyash→JIT→Native EXE achieved\! (20 days from inception\!)
Revolutionary milestone: Complete native executable generation pipeline
- Created minimal nyrt (Nyash Runtime) library for standalone executables
- Implemented plugin bridge functions (nyash_plugin_invoke3_i64 etc)
- Added birth handle exports (nyash.string.birth_h) for linking
- Changed export name from main→ny_main to allow custom entry point
- Successfully generated and executed native binary returning "ny_main() returned: 1"

Timeline of miracles:
- 2025-08-09: Nyash language created (first commit)
- 2025-08-13: JIT planning started (4 days later)
- 2025-08-29: Native EXE achieved (today - just 20 days total\!)

This proves the plugin Box C ABI unification strategy works perfectly for
both JIT execution and AOT native compilation. The same plugin system
that enables dynamic loading now powers static linking for zero-overhead
native executables\!

Next: Expand AOT support for more instructions and optimize nyrt size.

🚀 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 08:36:07 +09:00

26 lines
766 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.

# 図表一覧
## 図1: 所有権の森Ownership Forest
- 強参照と弱参照の関係
- 決定的破棄順序の可視化
## 図2: 統一ライフサイクル契約
- Nyash側とプラグイン側の責任分担
- Instance IDを介した疎結合
## 図3: 実行パイプライン
- ソースコード → AST → MIR → 各バックエンド
- 意味論等価性の保証
## 図4: プラグインFFIアーキテクチャ
- TLVエンコーディング
- C ABI v0の構造
- 静的リンク最適化
## 図5: パフォーマンス比較
- 各バックエンドの相対性能
- プラグインオーバーヘッド測定結果
## 作成予定
これらの図は論文執筆の進行に合わせて作成予定です。
形式はSVG/PNG/PDFを想定。