Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Shared Memory handling #14181

Open
Autumnlight02 opened this issue Sep 26, 2024 · 0 comments
Open

Better Shared Memory handling #14181

Autumnlight02 opened this issue Sep 26, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Autumnlight02
Copy link

What is the problem this feature would solve?

The Issue is that currently worker threads can be slow to work with if you need to always send over all the data from one thread to another, this is a major issue with Javascript as Iv'e seen.

What is the feature you are proposing to solve the problem?

Explained it here: WICG/proposals#170
Basically It would allow you to declare a RSet and RMap (etc) which are only writable from one thread but readable by all workers in realtime. This could allow many ressources to be more easily shared where workers are message responders and processecers and the main thread only managed the shared data between all of them.

What alternatives have you considered?

A different language? Shared buffers and atomics aint it.

@Autumnlight02 Autumnlight02 added the enhancement New feature or request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant