3,046 questions
Advice
0
votes
0
replies
29
views
Get Blazor Web App with Interactive Render mode WebAssembly working as PWA app
I have created a web app using the blazor web app template with interactive render mode being WebAssembly.
Is it even possible to get PWA working with this ?
I have tried following the microsoft ...
-1
votes
0
answers
118
views
MudBlazor still not compatible with .NET10? [closed]
I've created a Blazor WASM project and I can publish it. After adding the MudBlazor 9.2.0 nuget package I can no longer publish and get this error:
Package Microsoft.AspNetCore.Components....
0
votes
0
answers
112
views
How to build WebAssembly program with SDL_image 3.0?
I have created a simple C++ program
/*
checkers.cpp
*/
#define SDL_MAIN_USE_CALLBACKS 1 // NOLINT
// #include <SDL3/SDL.h> //uncomment for release
#include <SDL3/SDL_error.h> /...
1
vote
0
answers
145
views
How to compile SDL3 to WebAssembly with Emscripten?
If understand the instuctions correctly, I need to build the SDL library with emsdk
emcmake cmake -S vendored/SDL -B build -G "Visual Studio 18 2026"
ran successfully but
emcmake cmake --...
Best practices
0
votes
3
replies
63
views
What are some best practices when dealing with strings in a C++ to WASM port?
I have a lightweight ONNX model that performs Parts of Speech (POS) tagging, which I then use to generate grammatical features in my application.
These grammatical features involve surrounding POS tag ...
Best practices
0
votes
1
replies
96
views
How can I use Symfony AssetMapper with npm packages installed in the root node_modules?
Currently, I do:
npm install --prefix ./assets @hpcc-js/[email protected]
bin/console importmap:require @hpcc-js/wasm --path=./assets/node_modules/@hpcc-js/wasm/dist/index.js
It installs node_modules in /...
2
votes
1
answer
173
views
Dioxus CSS styling not consistent when using fullstack feature
I'm trying to set up a nav bar for my full stack web application, yet the CSS does not want to play ball.
When I first load the application (using dx serve --web), the styling is completely incorrect, ...
1
vote
0
answers
95
views
C++ WASM breakpoints not hitting in Chrome DevTools (Emscripten 3.1.12)
I’m debugging C++ compiled to WebAssembly using Emscripten 3.1.12, running in Chrome and trying to debug the C++ code of my web extension which has C++ backend.
env.AppendUnique(
CCFLAGS = ['-Wall'...
1
vote
1
answer
146
views
How to attach the debugger for Flutter Web WASM?
I'm trying to debug a Flutter Web app compiled in WASM mode, but the debugger (DevTools) won’t attach; WebStorm keeps showing Waiting for debug connection... indefinitely.
For context, I'm compiling ...
0
votes
1
answer
76
views
How to fix ERR_INVALID_URL_SCHEME when initializing C# in WebAssembly in node.js?
While I was able to get my C# code running in the browser as WebAssembly, I get errors like this when trying to run any (vitest) unit tests that load the module that initializes .NET:
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯...
1
vote
0
answers
178
views
Compile C++ to WASM in browser client side
Why can't I get it to compile to WASM in the browser client-side, no server? Most recent error:
Error initializing compiler. Check console for details.
Failed to execute 'postMessage' on 'Worker': ...
0
votes
0
answers
58
views
How to use JSExport in two projects in the same web+C# app
I started with a working app with static exported C# methods like
[SupportedOSPlatform("browser")] // suppress CA1416 "only supported on: 'browser'"
public static partial class ...
2
votes
1
answer
106
views
When importing tables or memories, why should the "actual max size" be less than the "expected max size"?
While looking through the WebAssembly 1.0 specification I got confused by the type rules for matching limits when importing memories or tables (section "4.5.2.1 Limits"). This also goes for ...
2
votes
0
answers
55
views
How to share a single WebAssembly.Memory instance between multiple ESM worker threads in Node.js 22?
I am working with Node.js 22 using native ESM and Worker Threads, I'm trying to share a single WebAssembly.Memory instance across multiple workers to avoid duplicating memory.
// main.mjs
import { ...
4
votes
0
answers
152
views
Hydration failed when synchronously instantiating a WebAssembly module inside a client component [closed]
I came across surprising hydration mismatch in a Next.js 15 App Router app when I synchronously instantiate a small WebAssembly module during the render of a client component.
Server builds fine.
On ...