Web49
Web49 copied to clipboard
Web49: WebAssembly Interpeter
How do I provide an argument to a function? I looked around in code, and didn't really see anything. For example, I want to expose `malloc` from my wasm, it...
I am using this to route WASI calls to `web49_api_wasi` ```c web49_env_func_t web49_main_import_func(void* state, const char* mod, const char* func) { printf("called: %s.%s\n", mod, func); if (strcmp(mod, "null0") == 0)...
I want to use web49 to interact with native. I found web49 call native easy but not vice versa. This is a great project and I love it.
So, I downloaded the mac asset from [last successful action workflow](https://github.com/FastVM/Web49/actions/runs/3877558082), and compiled this: ```c #include "raylib.h" int main(void) { const int screenWidth = 800; const int screenHeight = 450;...
on mac 13.0.1 intel, if I run `make` or `make CC=gcc` I get this error: ``` main/miniwasm.c:127:73: error: implicit declaration of function 'isnanf' is invalid in C99 [-Werror,-Wimplicit-function-declaration] if (data[n].f32...
memory.copy seems not to be implemented in the binary parser. however the error message is: ``` unknown opcode sequence: 0xFC 0x10 ``` which should be 0xFC 0x0A. It looks like...
Hi! I'd like to add `web49` to the lists of [runtimes](https://github.com/jedisct1/libsodium/blob/master/test/default/wasi-test-wrapper.sh) libsodium can support for testing `wasm32-wasi`. `web49` currently doesn't implement `wasi_random_get`, which I added a simple implementation for. But...
There is a lot code require `setjmp` to build into wasm, emcc support it by build into `javascript` backend. (and all mainstream browser support `setjmp` and `exception`). https://webassembly.org/roadmap/ I can...