How to do CPU intensive tasks?



firstly I know that CPU intensive tasks should run in separate thread (not in main), but how fast is Electron?

I mean is possible to write assembly or C++ code in electron for CPU intensive tasks?


It’s possible to include binaries with Electron that can handle these intensive tasks.


Is there some kind of example? :slight_smile:


Atom packages like script and hydrogen use external binaries for tasks that Atom can’t manage. Electron doesn’t do anything with spawning external processes that Node doesn’t do.