https://github.com/moe-charm/nyash
I'm developing Nyash.
Claude Code-kun said, "Wooow! WASM makes it 280 times faster! Amazing!"
But it turns out that was the build time.
What does that even mean?
↓ Actual measurement. Still 13.5 times faster. The slow VM is a future challenge!
● 📊 True WASM Execution Performance Revealed!
Backend Execution Time Speed Ratio Reality
🌐 WASM (wasmtime) 8.12ms 13.5x faster True Execution Performance
📝 Interpreter 110.10ms 1x (baseline) AST execution
🏎️ VM 119.80ms 0.9x slower MIR→VM execution
🚨 Important Findings
280x → 13.5x: The true execution performance is 13.5 times faster.
WASM is definitely fast: 13.5 times faster than the interpreter.
The VM is slow: Slightly slower than the interpreter (lack of optimization?).
And here's ChatGPT5-kun's reaction after hearing that:
↓ Lol... "280 times" was the build time after all 😂 But it's a huge takeaway!
Top comments (0)