Critique & Future Work
Snapshot: 0.2.0. This is an honest self-assessment at the release, not a marketing document. It records what is solid, what is deliberately narrow, and what is known to be missing.
What is solid
- Spec conformance. The official WebAssembly suite runs at 54,601 assertions / 0 failures across the full 3.0 pin plus classic threads. This is the strongest available evidence that the engine is correct, and it is green, not aspirational.
- Differential agreement. Zero divergences against Wasmtime across a wasm-smith sweep. A second, independent oracle agrees.
- Embeddability. The
no_stdcore genuinely has no OS dependencies, and the FFI + Swift + AOT surface is exercised by tests, not just sketched. - GPU verification is layered and honest. Structural proof runs on every dispatch; numerical proof is opt-in for known-linear kernels with a clearly stated applicability bound (not non-linear ops).
What is deliberately narrow
- The interpreter is a register-IR interpreter, not a JIT. This is a deliberate portability/embeddability choice (no codegen, no platform-specific backend). Throughput is adequate for many embedders but not competitive with Cranelift/Wasmtime on hot loops. A register-block JIT is a future integration-level option (see the Borsalino integration notes).
- GPU offload is one kernel deep.
f32_addis the offloaded operation; the host-module ABI is upload-on-create + read-back. This proves the pipeline end to end; expanding the kernel set and adding partial-write/destroy to the backend trait are follow-ups. - Numerical verification covers
f32_add. The exact-match protocol applies to linear/bilinear kernels; the reference for each additional kernel must be written. Non-linear kernels are out of scope for this protocol by design.
Known gaps
- The GC heap never frees. The staged GC slice ships a never-free heap with full type grammar and cast machinery; the real collector (5b) is gated behind the R3/R4 payloads per the design doc. Long-running GC-heavy workloads grow without bound until the engine-level byte cap refuses.
- Threads is single-agent. Classic threads (shared memory + atomics) is
implemented with deterministic single-agent semantics:
waittimes out,notifywakes nobody. Shared-everything threads (thread.spawn, shared GC) is a separate, gated proposal. - No hosted documentation site yet at release. This book is the first cut; the API reference points at rustdoc and is intentionally terse.
- MSRV is asserted (1.85) but CI tests on stable only. A dedicated MSRV CI job would harden the claim.
What this release is not
- Not a production-hardated server runtime (no observability hooks, no component-model support).
- Not a JIT (interpreter only).
- Not a drop-in Wasmtime replacement (smaller surface, different goals).
It is a correct, portable, embeddable WebAssembly 3.0 engine — plus classic threads — with a real platform-integration story and a credible foundation for the collector and shared-everything work, and for running the IA ecosystem on any platform.