This version of Wasmbox upgrades to Wasmtime v9.0.1
.
The new IVirtualSocket
interface introduced in Wasmbox adds support for the Wasi-Socket proposal. The only implementation currently included in Wasmbox (NonFunctionalSocket
) does not provide network connectivity, instead it always acts as if it is not connected to a network. This can be useful when a large compiled WASM program imports sockets, but you do not actually need networking connectivity for your use case.
Wasmbox is very new, so it is likely you will encounter bugs, awkward APIs or missing features. Please direct feedback to Discord or the Issue Tracker.
Features ๐โ
- Wasmtime v9.0.1
- Wasmtime-dotnet v9.0.1
- Added
Store.SetLimits
which adds hard limits on the amount of memory that can be consumed by WASM.
- Added
- Added a
IVirtualSocket
, representing WASI socket support. - Added
NonFunctionalSocket
, an implementation ofIVirtualSocket
which acts as if it is not connected to a network. - Modified WASI interfaces to use
ref
,out
andSpan<T>
parameters where possible instead ofPointer<T>
andBuffer<T>
. This significantly improves the user experience when interacting with these interfaces from non WASM code.
Bugfixes ๐โ
- None.