3 ms·
Compared to any language that has threads, workers are a usability nightmare and come with a million caveats. (For example they have major limitations in Elect
by doteka 6y ago
Compared to any language that has threads, workers are a usability nightmare and come with a million caveats.
(For example they have major limitations in Electron, which is one place where having threads would be very convenient. The current best practice is to spin up an entire new hidden browserwindow instead which is frankly insane.)
- vips7L 6y agoWe offload anything that would need a thread to another process on the JVM for electron. I know a few other projects offload to a GO process.