Files
hakorune/docs/papers/active/paper-b-nyash-execution-model/_artifacts/ENVIRONMENT.md
Tomoaki 7d88c04c0e wip(phase15): AOT修正作業中 - Nyプラグインと標準ライブラリ実装
Phase 15のAOT/ネイティブビルド修正作業を継続中。
ChatGPTによるstd実装とプラグインシステムの改修を含む。

主な変更点:
- apps/std/: string.nyashとarray.nyashの標準ライブラリ追加
- apps/smokes/: stdライブラリのスモークテスト追加
- プラグインローダーv2の実装改修
- BoxCallのハンドル管理改善
- JIT hostcall registryの更新
- ビルドスクリプト(build_aot.sh, build_llvm.sh)の調整

まだ修正作業中のため、一部の機能は不完全な状態。

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 06:24:08 +09:00

817 B

This folder contains reproducibility artifacts for Paper B (Nyash language & execution model).

Files

  • COLLECT_ENV.sh: Captures host OS/CPU/toolchain/git info into ENVIRONMENT.txt.
  • RUN_BENCHMARKS.sh: Runs interpreter/VM/JIT/AOT (if available) on sample benchmarks and writes CSVs to results/.
  • results/: Output CSVs (per benchmark and per mode).

Usage

  1. Capture environment ./COLLECT_ENV.sh

  2. Build (full) cargo build --release --features cranelift-jit

  3. Run benchmarks ./RUN_BENCHMARKS.sh

    Variables:

    • NYASH_BIN: Path to nyash binary (default: target/release/nyash)
    • USE_EXE_ONLY=1: Only measure AOT executables (skips interp/vm/jit)

Notes

  • AOT requires tools/build_aot.sh. If missing, AOT is skipped.
  • If hyperfine is not installed, a simple timing fallback is used.