menu

Wasmer

Wasmer is a organization dedicated to the advancement and development of WebAssembly through open-source software.

Channels
# All channels
view-forward
# General
view-forward
# runtime
view-forward
# wapm-cli
view-forward
Team
Posts
Members
Info

Insert functions into Instance after instantiation

Hey people. I have a use case where I need to provide functions to the Wasmer Instance after the WASM module has been loaded. I'm willing to work on this myself, since it doesn't look like that's supported yet. I just wanted to see if I'm looking at the right stuff to start…

thumbsup
0
message-simple
0

RuntimeError cause internal error

Suppose I'm doing a call to some external function and it returns a RuntimeError. Wasmer version is 0.16.2. My goal is to identify whether the error is some internal system error or just a regular Wasm Trap. Is there any way to differentiate it? Thanks!

thumbsup
1
message-simple
2

go-ext-wasmer and assembly-script example

Hello I am trying to integrate the two simple examples of go-ext-wasmer from here: https://github.com/wasmerio/go-ext-wasm and the basic assemblyscript tutorial. I followed the guidance here:…

thumbsup
0
message-simple
3

Wasmer working as a K8s runtime

It's a natural fit, right? Is this on Wasmer roadmap, or any other project working on this? Likely, there should be a shim to containerd. BTW, since Envoy is more and more popular, how wasmer can work with Envoy+K8s? Is that under consideration of Wasmer development?

thumbsup
1
message-simple
0

WasmPtr and deref_mut

Hey, I am just wondering if WasmPtr could potentially have a method to get access to the memory as just &mut [T] instead of &mut [Cell<T>]. The conversion is trivial but it would be nice to be able to access it directly. Would for example make it more ergonomic to send to crates…

thumbsup
1
message-simple
0

Slow compilation with LLVM backend

Hey guys, I’ve been playing around with different backends of Wasmer. It’s pretty awesome. I’ve got some questions mainly around LLVM backend. The compilation with LLVM backend is super slow. I check out wasmer-bench (by the time it’s 0.16.0) and run a benchmark with only the…

thumbsup
0
message-simple
3

Pass http request data to wasm module

Hi All, I am working on wasm service for actix, is there any good example of mapping complex struct with string and byte array (think http request)?

thumbsup
0
message-simple
1

Accessing memory from host import functions

I'm using go-ext-wasm, with a variation of the example in the README.md. I can create a Wasm instance, and invoke a function and then be able to read the memory (as per https://github.com/wasmerio/go-ext-wasm#read-the-memory) This is completely succesful. The imported function…

thumbsup
0
message-simple
0

llvm backend

I've noticed Wasmer has llvm-backend but cargo reports that it can't find "llvm" feature when specified in Cargo.toml. I haven't found wasmer-llvm-backend in crates.io. Does it mean that llvm backend isn't stable for now or it's supposed to be dependent using git?

thumbsup
0
message-simple
2

Running an emscripten .wasm

Hi, what are the steps, special flags, to be able to run an emscripten wasm file in Wasmer? When I try using the defaults I get Error: Can't instantiate module: LinkError([ImportNotFound { namespace: "wasi_unstable", name: "fd_write" }, ImportNotFound { namespace: "env", name:…

thumbsup
0
message-simple
2