menu
Wasmer

# General

General Chatter

Posts
Members
Search

Is it possible to call a WASM callback from Rust?

You are all probably getting tired of my questions, so apologies in advance. My question is very similar to this one, but of course I'm looking for the Wasmer version of the solution: https://stackoverflow.com/q/45387728 It's maybe a little difficult to describe because both…

thumbsup
0
message-simple
23
Richard·20d

Imported functions documentation?

I'm interested in writing wasmer apps, but I have no clue what imports are available to me. Any place I can look to find out?

thumbsup
0
message-simple
9
Richard·20d

What is the first exported function called on a wasm module?

thumbsup
0
message-simple
2

How do you (or can you?) attach custom userdata to VM context?

I'm attempting to expose a WASM binding of a library. I basically have two functions that are similar to the following: I'm wondering how I should store the actual backing Thing struct. I can think of two strategies. My first thought is to store the backing struct in a registry,…

thumbsup
0
message-simple
5

Microwasm

I'm curious about your guys' thoughts on the following article series, Lightbeam, and Microwasm. Something Wasmer intends to support? 1. http://troubles.md/posts/wasm-is-not-a-stack-machine/ 2. http://troubles.md/posts/why-do-we-need-the-relooper-algorithm-again/ …

thumbsup
1
message-simple
2
Al Izi·26d

wasmer fails on startup

env RUST_BACKTRACE=1 ~/dev/playground/wasmer/target/release/wasmer run fac.wasm 10 thread 'main' panicked at 'assertion failed: !desc.mutable', lib/clif-backend/src/module_env.rs:125:17 stack backtrace: …

thumbsup
0
message-simple
6

Virgil self-hosting on wasm

Perhaps you've seen the Virgil language, which is a (mostly) self-hosting language, with a new wasm backend.. https://github.com/titzer/virgil It's very similar to Java, but it also has C-style pointers (undocumented) …

thumbsup
0
message-simple
5

Genode as a reference for capability based OS tooling?

(Scroll past the microkernal stuff) https://genode.org/documentation/general-overview/ While PWSIX/Cloud-abi should obviously be a priority, I that using "sub-sandboxes" and explicitly passing capabilities to those sub-programs makes a lot of sense. I might want to run a WASM vm…

thumbsup
0
message-simple
0

Emscripten Hello World

Hi everyone! So first of all, I've run the wasm-sample-app and it went well, no problems there. Very cool stuff. Now I'm trying to run an Emscripten "Hello World" type of program. Should that be expected to work? It looks something like this: From looking at the wast, it looks…

thumbsup
0
message-simple
8

Welcome!

This will serve as our public-facing discussion forum! Feel free to ask questions, comment on what we're doing right and wrong, and post suggestions!

thumbsup
2
message-simple
1