4 ms·
JavaScript doesn't really have "threads" but node JS has it's `child_process` module and the browser has web workers.
by chickenfries 10y ago
JavaScript doesn't really have "threads" but node JS has it's `child_process` module and the browser has web workers.
- blauditore 10y agoYeah, but Node child processes are actually separate OS processes, which behave quite differently from threads (higher overhead to spawn, separate memory). The same goes for web workers; they're more like daemon processes than different threads. So I guess this was just poor terminology in the article, not any new magic... :)