3 ms·
One possible solution to introduce threads to JS is to isolate threads from each other and use only message-passing: https://github.com/audreyt/node-webworker-
by audreyt 13y ago
One possible solution to introduce threads to JS is to isolate threads from each other and use only message-passing:
https://github.com/audreyt/node-webworker-threads/ https://github.com/audreyt/node-webworker-threads/
- spion 13y agoSorry, but share-nothing threads that can only communicate via (afaics) serialized message passing are no longer threads. There is very little benefit to those compared to just spawning child processes.