Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
52 views

I made an application that runs a very compute heavy operation when user clicks a button. This expensive operation is ran from a web assembly worker compiled with Rust. It can spawn multiple workers. ...
Kalaeman's user avatar
0 votes
1 answer
62 views

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 ...
THelloThere's user avatar
  • 1,420
0 votes
0 answers
56 views

I currently have been trying to use WebContainers + emscripten for my compilation, and i want to know if it is possible, and if not other ways to do it. hello.js import { WebContainer } from 'https://...
ARGHHHHHH's user avatar
0 votes
1 answer
48 views

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: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯...
Qwertie's user avatar
  • 17.4k
1 vote
0 answers
132 views

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': ...
ARGHHHHHH's user avatar
0 votes
0 answers
51 views

I started with a working app with static exported C# methods like [SupportedOSPlatform("browser")] // suppress CA1416 "only supported on: 'browser'" public static partial class ...
Qwertie's user avatar
  • 17.4k
2 votes
1 answer
84 views

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 ...
MasterXD's user avatar
  • 826
2 votes
0 answers
45 views

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 { ...
Gnaneshwar P's user avatar
4 votes
0 answers
137 views

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 ...
Gnaneshwar P's user avatar
0 votes
0 answers
49 views

I'm attempting to build a wasm module with Emscripten once with -msimd128 -msse2 and have a fallback without. This uses the makeflags ifeq ($(P_SIMD),1) LINKFLAGS += -msimd128 -msse2 // later passed ...
Dr. Andrew Burnett-Thompson's user avatar
9 votes
0 answers
330 views

I work on a live version of the Freeciv game. It uses the Bevy engine and works in a native and Wasm target. After a long time without testing my Wasm version (I only checked its compile), I have a ...
bux's user avatar
  • 7,711
2 votes
1 answer
87 views

I am trying to build a Qt6 GUI project for WebAssembly using Emscripten. I managed to build the project successfully with nlohmann_json and spdlog. Now I also want to add the cpr library to use an ...
Suslik's user avatar
  • 1,121
7 votes
1 answer
244 views

I believe that it should be possible to use zig to compile a simple c library to web assembly. I am using the following c code // add.c int add (int first, int second) { return first + second; } ...
Koisto's user avatar
  • 135
0 votes
1 answer
100 views

I don't know how to check or increase the memory limitation of duckdb wasm. I'm using chrome and I import some parquet into the browser, one of them has 234Mb of data I did my research and the limit ...
Antho's user avatar
  • 1
0 votes
1 answer
60 views

When I try to compile FFmpeg to WebAssebly I got wasm-ld-13: error: unknown file type: demux.o, I configure and install FFmpeg (ffmpeg-8.0) using: emconfigure ./configure \ --prefix=$(pwd)/installed ...
ali's user avatar
  • 19
0 votes
0 answers
66 views

I am experimenting with Qt for WebAssembly and wrote a small application. When I build and run it from the console or directly inside Qt Creator, everything works fine. Now I’d like to use CLion as my ...
Suslik's user avatar
  • 1,121
0 votes
0 answers
47 views

I'm working on a Rego/OPA policy, specifically for checking azure resources diagnostic settings compliant based on specified parameters. However, I'm having several issues when trying to compile my ...
delucaezequiel's user avatar
0 votes
0 answers
74 views

Trying to learn some webassembly. I've got a minimum hello world: #include <emscripten.h> #include <stdlib.h> #include <stdio.h> int main() { printf("hello world"); } ...
roirodriguez's user avatar
  • 1,748
2 votes
1 answer
90 views

In Speculative Optimizations for WebAssembly using Deopts and Inlining the following statement is made: The difference is in the code for the slow path. Without deopts, we don’t have the option of ...
Jonas Wilms's user avatar
1 vote
0 answers
148 views

How do I make an outbound TLS connection (not HTTPS) from within WASM in Rust? Using WASI of course (not inside a browser). I've tried tokio_native_tls and rustls. Both fail to compile, saying that ...
AltF4's user avatar
  • 71
1 vote
0 answers
64 views

I get the error: wasm-ld: error: lto.tmp: undefined symbol: main Because I try to compile a C or C++ file with Clang compiler to wasm32-wasi. I have defined: -Wl,--no-entry But it still insists of ...
Zebrafish's user avatar
  • 16.3k
1 vote
0 answers
126 views

If I compile a simple program in C++ with Clang, (actually I'm using Zig c++, but that uses Clang), I compile a WASM program that is 700kb: zig c++ ./WebAssemblyCompilationTesting.cpp -o myoutput.wasm ...
Zebrafish's user avatar
  • 16.3k
4 votes
2 answers
139 views

Is FLAC decoded PCM guaranteed to start at the sample of an arbitrary seekpoint, if we fetch via HTTP range request from the seekpoints noted offset (on a fixed frame size e.g. 1024)? I encounter ...
Gabriel Wolf's user avatar
0 votes
1 answer
188 views

I'm currently using Avalonia (with C# and .NET) successfully to produce both Windows and Linux versions of our source code converters and have just started to look at targeting WebAssembly. This would ...
Dave Doknjas's user avatar
  • 6,600
0 votes
0 answers
109 views

TLDR (Conclusion - decision made) We reached the conclusion confirming unsafe-eval will be required by WASM itself. It's now part of the CSP since there's no way to really mitigate unless WASM does ...
Tommy Leong's user avatar
  • 3,060
3 votes
1 answer
78 views

I'm trying to write some WASM that can read from the local filesystem using WASI. (using wasmtime) But every time I try, I get a runtime error that says: Error: unknown import: wasi_snapshot_preview1:...
AltF4's user avatar
  • 71
0 votes
0 answers
28 views

By default, Compose/WasmJS is loaded from the root path wasmJsMain/resources/index.html. I'm trying to create a another path in the website like so: wasmJSMain/ | +-resources/ | +-index.html | ...
Some Noob Student's user avatar
0 votes
1 answer
87 views

I'm in the process of learning how to do JS interop in a .NET WebAssembly application (not Blazor, but an Microsoft.NET.Sdk.WebAssembly SDK app). I already know the basics of how to use the [JSImport] ...
Unknown Coder's user avatar
0 votes
0 answers
30 views

I am using the following the dump_wasm_module and dump_wasm_module_path flags in Selenium to try and dump the text representation of wasm modules (WAT) to disk. Here is how I use them: chrome_options....
Tiano Manti's user avatar
1 vote
0 answers
67 views

I use my wasm package in a next.js app. The wasm package is written in Rust and compiled by wasm-pack. Everything works very well when I start the app by npm run dev. However, when running npm run ...
wangjun's user avatar
  • 719
1 vote
1 answer
139 views

I have compiled some Java code to WebAssembly via TeaVM. The resulting code runs nicely in Firefox and Chrome but throws an exception in Safari. CompileError: WebAssembly.Module doesn't parse at byte ...
mipa's user avatar
  • 10.8k
0 votes
1 answer
88 views

I am using a library (Macroquad) that has an async function with following signature: async fn load_file(path: &str) -> Vec<u8> This loads the file and returns the raw bytes. Is there a ...
Ved Prajapati's user avatar
0 votes
0 answers
170 views

My website has the following JS code running the generated WASM: import init, { solve_abrams_strogatz } from './pkg/langshift.js'; async function run() { await init(); console.log("...
Quantalabs's user avatar
1 vote
0 answers
64 views

I’ve ported a JS radix sort vertex transform benchmark into AssemblyScript Wasm and gone through all the usual optimizations (noAssert, runtime stub, optimizeLevel 3, enable simd, reuse globals, ping-...
Sidhant Kumar's user avatar
0 votes
0 answers
61 views

I've been chasing this bug down to a minimal example, but even at this point I can't quite track down what must be the root cause. I'm calling a C function compiled into WASM using Emscripten. I can ...
M G's user avatar
  • 1
-1 votes
1 answer
552 views

I'm working on a media processing SDK with a substantial C++ codebase that currently uses FFmpeg for video decoding on native platforms (Windows/Linux). I need to port this to browsers while ...
gt-devel's user avatar
1 vote
1 answer
55 views

I'm trying to make CRUD work on Blazor Webassembly, but absolutely nothing works. InvalidOperationException: Cannot provide a value for property 'QuestionService' on type 'PWAQuestionWASM.Client.Pages....
IgramRel's user avatar
0 votes
1 answer
60 views

I have strapi deployed on cpanel with shared hosting environment. Currently strapi is running successfully on cpanel using the build with the sub-domain setup. I don't have access to root ssh but I ...
Habib Ullah's user avatar
-1 votes
3 answers
324 views

I'm trying to import a .wasm file on Vercel Edge in SvelteKit. The module I'm using is @resvg/resvg-wasm. When I try like so: import wasmInline from '@resvg/resvg-wasm/index_bg.wasm?inline'; ... await ...
Jonathan's user avatar
  • 4,135
-1 votes
1 answer
147 views

In my current desktop application, I evaluate dynamic C# formulas at runtime using CodeDomProvider. The formulas are written as C# snippets, and from each snippet I generate a full class and method, ...
goce pacemski's user avatar
1 vote
1 answer
67 views

Consider the following code: loop $FIRST block $SECOND (result i32) i32.constant 1 block $THIRD (result i32) i32.constant 1 br $FIRST end ...
confused_sisyphus's user avatar
0 votes
1 answer
116 views

So I'm trying to toss together a little demo that is essentially: 1) generate some text live and save to a file (I've got this working), 2) have a local instance of an LLM running (Llama3 in this case)...
PoGaMi's user avatar
  • 133
0 votes
1 answer
114 views

I was trying to find a way to export vector or other heap alocated data to Javascript. I tried this: use wasm_bindgen::prelude::*; use std::alloc::{Layout, dealloc}; #[wasm_bindgen] pub struct ...
Fuji's user avatar
  • 117
0 votes
0 answers
177 views

I added a dependency to my nextjs project that pulls in another dependency that uses wasm, and I am hitting a wall with the webpack build errors I am getting. I tried a bunch of different things with ...
Riley Rashka's user avatar
0 votes
1 answer
368 views

I've been trying to install cargo-leptos on my machine. I've installed it without issues on another machine before (also windows) but now I'm running into some issues. When I run cargo install --...
eliaxelang007's user avatar
1 vote
1 answer
142 views

Everything in this question is specific to the Wasmtime runtime for running WebAssembly modules. I am trying to build a Rust program that would be able to do a very basic form of dynamic linking ...
Mihnea Savin's user avatar
1 vote
0 answers
59 views

I have downloaded and successfully built the GDAL3.js project, but it does not include any drivers for JPEG2000 (such as Kakadu, or Open JPEG). I have in the past successfully built the standard GDAL3 ...
Randy Thompson's user avatar
3 votes
0 answers
171 views

Could someone please tell me why my WASM used heap size keeps growing every time I call genVector? Note, this binding is a very simplified reproduction of the problem. std::vector<uint8_t> ...
cpp_is_hard's user avatar
0 votes
1 answer
62 views

I have a problem with deployment of a Blazor WASM solution created in C#. It works perfectly when running in development, but I cannot get it to run after deployment to the web test server My question ...
Peter Rasmussen's user avatar
2 votes
1 answer
303 views

Im trying to use ChartJsBlazor with my Blazor WebAssemply project in Visual Studio and I've pretty must just copied the guide from the "Getting Started" section (https://github.com/...
Matias Hansen's user avatar

1
2 3 4 5
62