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

Using crossbeam's channel #2

Open
Ciantic opened this issue Jul 23, 2021 · 0 comments
Open

Using crossbeam's channel #2

Ciantic opened this issue Jul 23, 2021 · 0 comments

Comments

@Ciantic
Copy link

Ciantic commented Jul 23, 2021

This is not an issue in the crate, but I found out that the WebAssembly.Memory can be shared between workers. With that method you can use e.g. Crossbeam channel with wasm-bindgen with some caveats. As well as share a HashMap between workers.

I have an example of how to use crossbeam channel between workers in here: https://github.com/Ciantic/rust-shared-wasm-experiments/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant