repositories / smith

smith

There are many coding harnesses - but this one is fast

owned by bugabinga

explain wasi host leakage handling

eb05c8d396342ec17f1b22e1f8d614b62378ea3e

Oliver Jan Krylow <oliver@bugabinga.net> ·

unsigned

Browse filesCompare with HEAD

Changed files (1)

+1 / −1 text lines

Diff layout

.system/specs/SMH-SPEC-WASM0001-wasm-plugin-runtime/index.md

Modified

+1 / −1 text lines

1616- Engine enables NaN canonicalization.
1717- Engine disables relaxed SIMD.
1818- Fuel metering is on; fuel exhaustion is an explicit plugin error and leaves the runtime usable.
19- No ambient WASI: no clocks, randomness, filesystem, network, or environment reach the guest.
19- No ambient WASI: clocks, randomness, filesystem, network, and environment never reach the guest uncontrolled from the host OS. Where a guest needs such semantics, Smith provides controlled substitutes through granted interfaces — deterministic, recorded, replayable (a smith clock is injected and replayed; a smith RNG is seeded and recorded).
2020- Time enters the guest only as explicit host-provided arguments.
2121- Components are validated before instantiation: typecheck against the pinned smith world, memories and tables declared with max equal to min, runtime limiter rejects growth.