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

Does Wasmer support NaN standardization?

thumbsup
0
message-simple
5

Differences between debug and release configuration

What are the differences between debug and release modes in building Wasmer? I'm finding that they have unexpectedly large differences... I have a WASM module that gets an out of bounds memory access error with release-mode Wasmer, but works with debug-Wasmer. I reproduced this…

thumbsup
0
message-simple
4

How to store functions in a vector(Rust)

I want to keep all the Func<> that I have created in a vector, but I don't know how to. It only works if I specify the arguments and returns like this : Vec<Func<'a, (u64, u64), u64>> But I want to store Func of different arguments and returns.

thumbsup
0
message-simple
4

Looking for generalizing Ctx.data and WasiState

I have the following requirements: 1. Provide my custom implementation of some WASI functions. Ideally through a trait that the functions passed as imports delegate to. My trait implementation would delegate to the built in implementation when appropriate. Such trait would…

thumbsup
1
message-simple
1

read_string_from_wasm (emscripten's internal utils)

Hi! I find myself wanting to copy that read_string_from_wasm function into my sources, interacting with an instance's memory. I'm not too familiar with Rust yet, am I missing something? There's CStr, and I wonder if I should rather somehow combine that with WasmPtr...? The WASM…

thumbsup
1
message-simple
3

Failure running plugin sample on mac

wasmer maxim$ cargo run --example plugin Finished dev [unoptimized + debuginfo] target(s) in 0.17s Running target/debug/examples/plugin …

thumbsup
1
message-simple
8

Gas Metering in WASMER

On what basis gas cost is estimated? I mean is if based on any specific processor? What is the cost for each opcodes? Where can I found the list?

thumbsup
0
message-simple
1

Run untrusted code

Hey, I would like to embed wasmer in C application to run untrusted code. I saw that this feature is still not available (https://wasmer.io/coming-soon). Any chance its planned to be available soon? Thanks, …

thumbsup
0
message-simple
9

What's the best way to overload stdin/stdout for wasi module in Rust

Hi All, I use wasmer-rust-api to run WASI code from Rust app and it works great. Now I want to sandbox stdin and stdout for WASI code, rather redirect it to stream. Is there a good way or good example of how to best achieve that? Thanks

thumbsup
2
message-simple
4

link errors

Wasmer is amazing ! With the Python wasmer API, i'm loading some WASM files and i can list the 'exports', this works with the most basic WASM files that have no deps/links, however with anything else loading a WASM files with '17 link errors: (1 of 17) Import not found ' etc ...…

thumbsup
0
message-simple
9