Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

80
Views
Is posting a list of SharedArrayBuffer to a worker legit?

I have hundreds of Uint8 typed arrays that I store in a list. I would like to start implementing Web Workers in my code, I need these typed arrays to be available to all my workers at the same time. So I need to create SharedArrayBuffer. I had in mind to send a list of SharedArrayBuffer instead of a single SharedArrayBuffer that gathers all my data and converts them to a typed array only once at initialization in my workers. This method would simplify the code a lot. but in all the examples I could find, it was always just a single SharedArrayBuffer that was sent to the worker with postMessage. Would this be a bad way of using it? Will it cause me any performance issues or anything else?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!