Background
Design: docs/native-execution-and-parallelism.md §3 (Tier 1), §4.2, §11.
Depends on #1 (the tegmentum:py-offload WIT contract).
Run native code from packages with no wasm32-wasip2 wheel by executing them in
a native CPython inside the v86 wasmmachine, reached through the offload WIT.
Tasks
Acceptance
A native-only package call (e.g. a tiny numpy op) runs end-to-end through
offload.run against a snapshot-restored guest, with a recorded warm-call
latency number.
Notes / deps
Background
Design:
docs/native-execution-and-parallelism.md§3 (Tier 1), §4.2, §11.Depends on #1 (the
tegmentum:py-offloadWIT contract).Run native code from packages with no
wasm32-wasip2wheel by executing them ina native CPython inside the v86 wasmmachine, reached through the
offloadWIT.Tasks
reads a
task, resolvesentry, runs it, and writes backoutcome.wasi:cli/command+ serial /virtiofs /workspace); design so it can move to typed v86 WIT whenboot/deviceworlds are wired upstream.boot-per-call).
offload.runhost shim binding the host to the guest dispatcher.Acceptance
A native-only package call (e.g. a tiny numpy op) runs end-to-end through
offload.runagainst a snapshot-restored guest, with a recorded warm-calllatency number.
Notes / deps
~/git/v86. Its richer WIT (boot/device) is not yet wired in,so Phase 2 uses the interim
wasi:cli/commandpath.