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

Use worker threads #78

Open
lhstrh opened this issue Jan 14, 2022 · 1 comment
Open

Use worker threads #78

lhstrh opened this issue Jan 14, 2022 · 1 comment

Comments

@lhstrh
Copy link
Member

lhstrh commented Jan 14, 2022

There is a new API in Node that allows for worker threads (these are different from Web Workers): https://nodejs.org/api/worker_threads.html

It looks like we can use these to exploit parallelism in reactor programs (like the C, C++, and Rust target already do).

@lhstrh
Copy link
Member Author

lhstrh commented Jul 1, 2023

A direction that is probably more promising, is to compile one of our other runtime implementations (C, C++, or Rust) down to Web Assembly and use that under the hood.

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