wazero icon indicating copy to clipboard operation
wazero copied to clipboard

wazero: the zero dependency WebAssembly runtime for Go developers

Results 73 wazero issues
Sort by recently updated
recently updated
newest added

Close https://github.com/tetratelabs/wazero/issues/738

These are to handle corner cases described in [`io.Reader`](https://pkg.go.dev/io#Reader). For a partial read `readv` really shouldn't continue reading into the following buffer. And according to [`io.Reader`](https://pkg.go.dev/io#Reader), callers should handle any...

Just a start, and it is already teaching me some things in common between this and other Wasm compilers.

Do you think it would be worthwhile to maintain an example of Zig in the wazero repository? I extended the allocation example for Zig. I can open a PR if...

enhancement

Nobody answered me in #512 🥲, so I decided on my own what implementation to use. Instead of a copy loop: ```asm .loop: MOVB [dst], value DEC size CMP size,...

**Is your feature request related to a problem? Please describe.** I'm interested in implementing custom host functions defined via WITX in wazero, which can be accessed by a Wasm guest....

enhancement

Currently the assembly implementations of `memory.copy` and `memory.fill` (and table equivalents) are pretty native and simply do the for-loop copying one by one. amd64: https://github.com/tetratelabs/wazero/blob/266320e257e6a0496781aa740c79e61833d7d83a/internal/wasm/jit/jit_impl_amd64.go#L3536 arm64: https://github.com/tetratelabs/wazero/blob/266320e257e6a0496781aa740c79e61833d7d83a/internal/wasm/jit/jit_impl_arm64.go#L3071 Therefore, there's plenty...

help wanted

Is it (or will it) be possible to extend a running wasm instance with a new function? E.g. compile a function from wasm binary representation and add it to the...

enhancement

WASI defines portable system calls to manipulate files. We currently use fs.FS to map to many of these. read-only operations are implicit, but the status quo goes beyond this in...

**Describe the solution you'd like** Is it possible to replicate [this feature](https://pkg.go.dev/github.com/wasmerio/wasmer-go/wasmer#Module.Serialize) from wasmer-go? Compiling a module results in a significant number of allocations, so I'd like to compile a...

enhancement