Files
hakorune/docs/guides
nyash-codex dda65b94b7 Phase 21.7 normalization: optimization pre-work + bench harness expansion
- Add opt-in optimizations (defaults OFF)
  - Ret purity verifier: NYASH_VERIFY_RET_PURITY=1
  - strlen FAST enhancement for const handles
  - FAST_INT gate for same-BB SSA optimization
  - length cache for string literals in llvmlite
- Expand bench harness (tools/perf/microbench.sh)
  - Add branch/call/stringchain/arraymap/chip8/kilo cases
  - Auto-calculate ratio vs C reference
  - Document in benchmarks/README.md
- Compiler health improvements
  - Unify PHI insertion to insert_phi_at_head()
  - Add NYASH_LLVM_SKIP_BUILD=1 for build reuse
- Runtime & safety enhancements
  - Clarify Rust/Hako ownership boundaries
  - Strengthen receiver localization (LocalSSA/pin/after-PHIs)
  - Stop excessive PluginInvoke→BoxCall rewrites
- Update CURRENT_TASK.md, docs, and canaries

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-13 16:40:58 +09:00
..

Nyash User Guides 📚

Nyashプログラミング言語の利用者向けガイドとチュートリアルです。

Quick Links

  • Docsの書き方小さく・リンク駆動・3層: contributing-docs.md

🚀 はじめに

  • getting-started.md - Nyashを始めるためのクイックガイド

📖 サブディレクトリ

tutorials/

  • hello-world.md - 最初のNyashプログラム
  • basic-boxes.md - Boxクラスの基礎
  • delegation.md - デリゲーションの使い方
  • p2p-apps.md - P2Pアプリケーション開発

examples/

  • 実践的なサンプルコード集
  • よくあるパターンの実装例
  • ベストプラクティス

wasm-guide/

  • WebAssemblyビルドガイド
  • ブラウザープレイグラウンドの使い方
  • Webアプリケーション開発

🎯 学習順序

  1. getting-started.md から始める
  2. tutorials/ のチュートリアルを順番に
  3. examples/ で実践的なコードを学ぶ
  4. 特定用途WASM等は各ガイドへ