3,046 questions
Best practices
4
votes
10
replies
180
views
HTML/CSS/JS/C++ Project Structure and Organization
I am developing a client-side single page web app with an university group. The frontend handles UI and user input, while the main computations are handled by webassembly files compiled from C++ with ...
Advice
0
votes
0
replies
60
views
How to add a dependency / call another pre-compiled WASM module from a kotlin multiplatform projects web application?
I am currently experimenting with kotlin multiplatform, to build an application in a desktop and web flavor. Some functionality is provided on desktop by another installed application, but it is not ...
Advice
0
votes
5
replies
140
views
Can a web assembly be packaged as a Windows DLL?
I have an app written as a web assembly, in web native tools.
Can this be packaged as a Win64 (or Win32) dll, such that it can be invoked from a Win32 or Win64 native application?
The specific use ...
2
votes
0
answers
179
views
panicked at condvar wait not supported when running MobileNetV2 with Burn/Wgpu in WASM
Lately, I've been learning how to use WebGPU and WebAssembly to run image classification models in web browsers.
I used Rust, WASM, and Burn. I noticed that the burn-onnx repository contains an ...
Advice
0
votes
0
replies
121
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 ...
0
votes
0
answers
187
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
290
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
136
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
120
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
212
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
102
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
164
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
85
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
188
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
68
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 ...
