Files
hakorune/docs/papers/nyash-unified-lifecycle
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
..

Nyash: A Box-Centric Language with Unified Plugin Lifecycle

論文執筆プロジェクトのホームディレクトリです。

📁 構成

  • abstract.md - アブストラクト(要約)
  • main-paper.md - 論文本体
  • technical-details.md - 技術的詳細
  • evaluation-plan.md - 評価計画
  • related-work.md - 関連研究
  • figures/ - 図表ディレクトリ

🎯 主要貢献

  1. 統一ライフサイクル契約: ユーザーBoxとプラグインBoxを同一契約で管理
  2. GCオン/オフの意味論等価: 開発時と本番時で完全に同じ動作
  3. C ABI v0とプラグイン一本化: VM/JIT/AOT/WASMを共通化
  4. 小さな実装での完全系: ~4K LoCで実用パイプライン実現

📊 投稿先候補

  • arXiv (まず公開)
  • PLDI (Programming Language Design and Implementation)
  • OOPSLA (Object-Oriented Programming, Systems, Languages & Applications)
  • ECOOP (European Conference on Object-Oriented Programming)
  • ASPLOS (Architectural Support for Programming Languages and Operating Systems)

✍️ 執筆状況

  • 基本構想
  • 技術的詳細の整理
  • アブストラクト作成
  • 本文執筆
  • 図表作成
  • 評価実験
  • 査読対応準備