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

What is the difference between worker_threads and napajs? #249

Open
whtiehack opened this issue Jun 27, 2018 · 1 comment
Open

What is the difference between worker_threads and napajs? #249

whtiehack opened this issue Jun 27, 2018 · 1 comment

Comments

@whtiehack
Copy link

whtiehack commented Jun 27, 2018

I am new to nodejs and want to know the difference between these two modules.

What are the similarities and differences between the usage scenarios of these two modules?
Or should I go to node to ask this question?
Thanks.

@addaleax
Copy link

As I understand it, one main difference is that napajs goes much further than what’s currently built into Node.js – you can actually share and transfer JavaScript objects between the different threads.

That requires modifications of the JS engine, though. I’d love to eventually see something like this here end up in Node.js’s own Worker support, too.

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

2 participants