phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0

This commit is contained in:
nyash-codex
2025-11-06 15:41:52 +09:00
parent 2dc370223d
commit 77d4fd72b3
1658 changed files with 6288 additions and 2612 deletions

View File

@ -210,10 +210,10 @@ function sumStringLengths(strings) {
### 2. プロファイリング
```bash
# Mutexプロファイル
NYASH_PROFILE_LOCKS=1 ./target/release/nyash bench.nyash
NYASH_PROFILE_LOCKS=1 ./target/release/nyash bench.hako
# Atomic最適化後
NYASH_ATOMIC_OPT=1 ./target/release/nyash bench.nyash
NYASH_ATOMIC_OPT=1 ./target/release/nyash bench.hako
```
## 🚧 実装上の注意点

View File

@ -265,10 +265,10 @@ async function fetchAll(urls) {
### 2. ベンチマーク
```bash
# 10000並行リクエスト
./target/release/nyash bench/async_stress.nyash
./target/release/nyash bench/async_stress.hako
# メモリプロファイル
NYASH_COROUTINE_STATS=1 ./target/release/nyash bench/async_memory.nyash
NYASH_COROUTINE_STATS=1 ./target/release/nyash bench/async_memory.hako
```
## 🚧 実装上の注意点

View File

@ -10,7 +10,7 @@ Phase 11.5完了を待たずに、**今すぐ作れる**実用アプリ5本で
**目的**: I/O・StringBoxの道通し確認
```nyash
// apps/ny-echo/main.nyash
// apps/ny-echo/main.hako
static box Main {
main(args) {
local console = new ConsoleBox()
@ -42,7 +42,7 @@ static box Main {
**目的**: PyRuntimeBox/PyObjectBox経由のPluginInvoke検証
```nyash
// apps/ny-jsonlint/main.nyash
// apps/ny-jsonlint/main.hako
static box Main {
init { py, console }
@ -85,7 +85,7 @@ except Exception as e:
**目的**: ArrayBox map/reduce、StatsBox導入、性能可視化
```nyash
// apps/ny-array-bench/main.nyash
// apps/ny-array-bench/main.hako
static box Main {
init { stats }
@ -139,7 +139,7 @@ static box Main {
**目的**: BytesBox/FileBoxプラグインI/O、実用的なツール
```nyash
// apps/ny-filegrep/main.nyash
// apps/ny-filegrep/main.hako
static box Main {
init { pattern, recursive, results }
@ -202,7 +202,7 @@ static box Main {
**目的**: NetBoxプラグインとイベントループ、FutureBox活用
```nyash
// apps/ny-http-hello/main.nyash
// apps/ny-http-hello/main.hako
static box Main {
init { server, running }
@ -292,7 +292,7 @@ nyash-apps-v1.0/
│ ├── ny-filegrep[.exe]
│ └── ny-http-hello[.exe]
├── examples/
│ └── *.nyash (ソースコード)
│ └── *.hako (ソースコード)
├── benchmarks/
│ └── results.json
└── README.md