menu

Wasmer

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

Channels
Team
Posts
Members
Info

Unable to generate target.wasm for wasmer-c-api example.

I'm trying to run https://github.com/wasmerio/wasmer-c-api with a generated wasm file. When using the provided target.wasm file, it runs perfectly, however if I try to generate it myself using emscripten, I receive a compilation error. I'm using the same command as the one…

thumbsup
0
message-simple
1

Wasmer compiler backends and performance target?

Hi everyone, (I hope this is also an appropriate forum for Wasmer development questions.) What's the plan with Wasmer's different compiler backends? Are you guys planning tiered compilation, for example, to combine them? Is the deployment model in Wasmer just-in-time or…

thumbsup
0
message-simple
0

Determining unoccupied memory

Im trying to pass a pointer to a struct that will be allocated in the WASM memory of the context (ctx.memory()). I'm aware I can write in the memory however I cannot determine whether there are memory that is free an available to be written to. I can see that theres a function…

thumbsup
1
message-simple
11

How use wasmer to run my existing code?

Hey, I have a wasm code which is generated for my rust code. Now I wan't use wasmer to run my code in runtime environment. Can I use wasmer run my_wasm.wasm command directly? Or the restructure of my rust code is required as there in wasm-rust-example?? …

thumbsup
0
message-simple
4

ruby wasmer gem test application

hi, I successfully installed wasmer gem and tryinng to create some test application. But I stuck at very beginning What am I doing wrong?

thumbsup
0
message-simple
1

Using AssemblyScript

All the examples on the wasmer repo are really nice, but they are in rust. Thus, the examples use rust std lib functions. Unfortunately, I have to write functions in AssemblyScript that call wasi functions manually, and could use some help with figuring out which ones are needed…

thumbsup
1
message-simple
1

go-ext: emscripten?

I'm trying to execute a Lua script through Go using the wasmer-go-ext. Any thoughts on how to achieve this?

thumbsup
0
message-simple
2

The calls to wasm functions are slow

I've done some basic benchmarks and found that calls to wasm functions take around 300 nano seconds That's huge comparing this operation to a call from wasm vm to native which is just 5 nano seconds. Is there any way to improve the performance of calls?

thumbsup
0
message-simple
0

Embedded Runtime with WASI

Hi, I'm trying to modify the plugin.rs example to run a module which reads a file file via WASI but when I run it I get a panic: "thread 'main' panicked at 'Call failed: WebAssembly trap occured during runtime: unknown', src/libcore/result.rs:999:5" …

thumbsup
0
message-simple
5

how to pass a rust string to a wasm module

I'm trying to do the reverse of hello_wasm in wasm calling imported print_str provided in rust, I want to pass the string to the wasm function and send it back to print_str [1]. I managed to make it compile declaring the wasm function rust pub extern "C" fn print_str_param(ptr:…

thumbsup
0
message-simple
4