Description Language Standards
WebAssembly Standard
WebAssembly-JavaScript API Standard
WASI (WebAssembly System Interface) API
Test Suites
WebAssembly/spec
WebAssembly/testsuite
WebAssembly/testsuite-js (JS API)
Current Issues
1. Code Duplication from Memory64 Support
Excessive class duplication in ByteCode.h
Increased code size and reduced maintainability
Solution: introduce base classes and helper macros
Refactor incrementally
2. Excessive Stack Usage in Debug Mode
interpret() uses ~8KB stack (vs. a few hundred bytes in release)
Problematic for recursive call tests
Cause: too many local variables with no stack slot reuse
Solution: reuse variables for uint32/uint64 indices and offsets
3. Missing WASI Preview1 Functions
Many WASI Preview1 APIs are not implemented
Low complexity (mainly interface additions)
Can be implemented quickly
4. Apple Clang Optimization Breaking Bytecode Mapping
Compiler merges interpreter loop paths
Breaks computed goto → bytecode mapping
Critical issue for JIT compilation
Current workaround: swap src/dst operands in some bytecodes
Required actions:
Verify the issue is fully resolved
Add release assert to prevent regression
Optimizations
Interpreter-JIT Hybrid Runtime Execution
Use interpretation for cold functions and JIT compilation for hot functions
Reactions are currently unavailable
You can’t perform that action at this time.
Language Standards
WebAssembly Standard
WebAssembly-JavaScript API Standard
WASI (WebAssembly System Interface) API
Test Suites
Current Issues
1. Code Duplication from Memory64 Support
ByteCode.h2. Excessive Stack Usage in Debug Mode
interpret()uses ~8KB stack (vs. a few hundred bytes in release)uint32/uint64indices and offsets3. Missing WASI Preview1 Functions
4. Apple Clang Optimization Breaking Bytecode Mapping
Optimizations
Interpreter-JIT Hybrid Runtime Execution