Re:Napa.js: A multi-threaded JavaScript runtime
by jondubois on Wednesday October 18, 2017 @08:40AM
(#15498634)
I think this could be useful but I really hope they get it right (especially the broadcast and other cross-worker communication features). Right now it looks like the broadcast feature cannot target specific workers - That's already a red flag. If they push too hard on thread locking and data consistency across workers, then it's not going to scale and it may lose all the advantages of being able to run on multiple CPU cores.
[ Parent
| on HN ]
Re:Napa.js: A multi-threaded JavaScript runtime
by daiyip on Thursday October 19, 2017 @02:40AM
(#15505893)
A key design goal is to make all workers within a zone symmetric, broadcasting/executing to specific workers is an anti-pattern. Please see: https://github.com/Microsoft/napajs/wiki/introduction#zone