3 ms·
In what cases would you want multi-threading in javascript? I feel like most performance intensive nodejs modules drop down to c++ where real concurrency alrea
by meowtimemania 3y ago
In what cases would you want multi-threading in javascript?
I feel like most performance intensive nodejs modules drop down to c++ where real concurrency already exists. (e.g. sharp - https://sharp.pixelplumbing.com/api-utility#concurrency https://sharp.pixelplumbing.com/api-utility#concurrency)
- bheadmaster 3y ago> In what cases would you want multi-threading in javascript? In all of them - JavaScript is mostly used for asynchronous programs, which are easily parallelizable. There's no reason not to want multi-threading.