Category "webassembly"

emscripten undefined exported function:

I'm stuck and I hope somebody can help, I am trying to build the h264lib_opencore library to webasm and I successfully built it, I isolated the functions that I

Only getting RangeError when Chrome Developer Tools is closed

So I have this weird error where the script stops executing with RangeError: Maximum call stack size exceeded when I launch it normally, but when I open the Dev

CORS issues with window.open() and OAuth2

I'm running a site that uses SharedArrayBuffer (ffmpeg wasm) which strictly requires CORS (and/or site isolation), AND a Discord oauth2 workflow. After not look

webassembly is not defined on ms-edge in github editor [FIXED]

GitHub code editor (github.dev) on Microsoft Edge browser says the error request initialize failed with message: Webassembly is not defined and also missing syn

Blazor Debugging not hitting breakpoints

I am taking over maintenance of an ASP.Net Hosted WebAssembly project. Cannot debug it. I have added "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_fr

Can clojure/clojurescript compile down to webassembly?

Thinking about writing a game using web assembly. Is there a good way of doing that using Clojure or clojurescript?

generating debug info with emscripten / ninja / cmake on complex project

I am trying to debug a port of some c and c++ code to WASM. I worked out how to source level debug in the browser with a simple 10 line .c program but now I wan

Connect Blazor WASM app to Azure Key Vault

I am asking for your help because i have some trouble with the connection of my app to Azure key vault (title of the subject). The architecture of my project lo

Connect Blazor WASM app to Azure Key Vault

I am asking for your help because i have some trouble with the connection of my app to Azure key vault (title of the subject). The architecture of my project lo

Cloudflare Workers with Webassembly

i managed today to get cloudflare workers working with my c# wasm. My question is, how safe this is if i want to serve a api on workers with webassembly? I want

Why is a string passed from JavaScript to Wasm always empty in section 4.2 of the Rust/Wasm beginner book?

I'm trying to follow the Rust WebAssembly book and I'm stuck at the exercise in section 4.2. I changed everything as described in the answer, but the given &

Is there a way in Blazor to reverse map wasm-function(#) back to the c# method?

I am running a Blazor page on Chrome and I see from the Chrome profiler that it is spending a lot of time in the code wasm-function(633). Is there any way for

can i access memory mapped file through WebAssembly

I have multiple separate application (C++, C#) that shares data through MemoryMappedFile. now I want to show some data from that; can I access that directly fro

can i access memory mapped file through WebAssembly

I have multiple separate application (C++, C#) that shares data through MemoryMappedFile. now I want to show some data from that; can I access that directly fro

WebAssembly blocks the web worker thread too

This is related to the previous question WebAssembly in async code Basically, that question is about the problem of the WebAssembly blocking the main thread, a

Why does webassembly use fetch before using module.malloc will cause runtimeerror?

When I open -s FETCH=1 and -s EXIT_RUNTIME=1 at the same time call emscripten_fetch after using Mudole._malloc, the following error will appear. Uncaught (in pr

Module parse failed for wasm module generated by rust wasm-pack

I have been following this tutorial: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm in order to build a Rust library and use it in a VueJS pr

Correct way to provide minimal browser-api to Go wasm and returning lib-api back to client, without Global scope?

I'm trying to find a best/right way to implement minimal and safe client <-> wasm api while avoiding usage of window|global|self context. I have found 3 w

AutoMapper .NET6 C#10 Blazor WASM PWA

I had a problem that the AutoMapper worked in .NET5 with in Program.cs -> services.AddAutoMapper(typeof(Startup)); New Blazored WASM PWA do not have a Startu

Is there a way to seed a cryptographically secure RNG engine in rust using a [u8; 64] array?

ORIGINAL QUESTION: I am currently trying to write a library in rust - to be compiled to WASM - for converting a bip39 mnemonic passphrase into an Arweave JWK. I