Skip to main content
3 votes
1 answer
160 views

The ECMAScript Language Specification states: Atomics are carved in stone: Program transformations must not cause any Shared Data Block events whose [[Order]] is seq-cst to be removed from the is-...
James Page's user avatar
2 votes
2 answers
218 views

Since TypeScript 5.9 we have (roughly speaking) Uint8Array = Uint8Array<ArrayBufferLike> = Uint8Array<ArrayBuffer | SharedArrayBuffer>. Now I am looking for a clean and idiomatic way to ...
Simon Warta's user avatar
  • 11.5k
2 votes
0 answers
49 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
1 answer
175 views

I have a setup where I have a couple dozen web workers postMessage requests to the main thread and then synchronously block for the response: Since this is synchronous, the web worker never makes a ...
Gillespie's user avatar
  • 6,656
1 vote
2 answers
224 views

The return value of TextEncoder.encode() is Uint8Array<ArrayBufferLike>. The ArrayBufferLike type includes ArrayBuffer and SharedArrayBuffer. How to know which type of array buffer encode() will ...
aryzing's user avatar
  • 6,001
0 votes
1 answer
179 views

I am using a web worker to process some data for me. The flow goes like this: main thread writes to a shared array buffer, then once done writing, uses postMessage to send the buffer to the webworker. ...
Will's user avatar
  • 1
0 votes
1 answer
559 views

Question: I am working on an Angular project (version 18.2.3) where I use ffmpeg.wasm to trim videos and extract frames. However, when trying to load FFmpeg, I am encountering the following error in ...
Memariya Chirag's user avatar
0 votes
0 answers
549 views

I'm encountering a RangeError: Array buffer allocation failed error in my JavaScript application after refreshing the page multiple times. The error occurs even though the memory usage appears to be ...
Scoob's user avatar
  • 551
1 vote
1 answer
329 views

I want to allow a sandboxed iframe to use SharedArrayBuffer with web workers created by the iframe. To use SharedArrayBuffer I have to set the following headers Cross-Origin-Opener-Policy: same-origin ...
Vexcess's user avatar
  • 96
-1 votes
1 answer
513 views

I have built a game using godot4 and hosted it on a Linux server. In-game server .htacess Header set Cross-Origin-Opener-Policy: "same-origin" Header set Cross-Origin-Resource-Policy "...
Amanullah Aman's user avatar
-1 votes
1 answer
448 views

I am setting up a Firebase Web App and am unsure how to setup CORS headers for SharedArrayBuffer and if there is anything else I need to do for the SharedArrayBuffer. You can check the website if you ...
TheGoat's user avatar
  • 11
0 votes
1 answer
56 views

If I create a SharedArrayBuffer, and then create a 'view' of said buffer via a TypedArray, and then send that TypedArray to a Worker via postMessage, is the worker able to access the full data of the ...
joe's user avatar
  • 6,175
2 votes
1 answer
811 views

I'm using this excellent template from vercel as a base for my project : https://vercel.com/templates/next.js/subscription-starter I've used it for many projects and the Stripe integration works ...
Syed Saif's user avatar
  • 113
1 vote
0 answers
417 views

The issue is: since i locked my page up in order to use sharedArrayBuffer (and other perks) google auth throws an error at posting a message between windows: m=credential_page_library:210 Uncaught ...
Jugo Rocks's user avatar
1 vote
0 answers
1k views

I've been developing a website using Express for the backend and React for the frontend. I've come across the issue where my application won't work on Firefox due to this error: 'ReferenceError: ...
slow_learner's user avatar

15 30 50 per page
1
2 3 4 5
7