Electron app are crashing every day when i'm doing something CPU intensive on my linux (i tend to have VSCode + Discord open, and pods in the background). 8 double-threaded core and 32G and this framework take one full CPU per app and crash when a deployment decide to take a fraction of the CPU computing power.
I see this quite often and wonder what the reason is. Even for what seem like "basic" apps, as in not needing much interaction with the OS (say a note-taking app, as opposed to a video-conferencing app that presumable does more involved things, like GPU acceleration).
It still requires you to build on each environments once to make the native dependencies work properly. Although I don't think it takes too much efforts to do that.
But besides that, signing binaries on mac is complex and requires you to pay $100 to apple. For someone that don't use mac at first place, they probably don't even bother do it.
Is this build somewhat complex and / or not guaranteed to run well?
I have absolutely no experience with Electron development, and actually believed that the cross-platform thing was free (or almost). Again, at least for apps that don't need special functions that could be platform dependent.
Technically it is free, until some native dependencies involve. Because you still need to setup build chains on each platform to make them compile. For example, vc on Windows, gcc on Linux, xcode on mac.
Besides that, unlike java, nodejs don't bundle a lot of stdlibs by itself.(It don't even have a lib for manipulate images!) So you end up being required to use custom native modules for some specific tasks.(If no js alternative available)
The nodejs way is build yourself, so you will have the right one. But since it is a bundled electron program, it doesn't work and you need to prebuild it.
This is funny, considering it's an Electron app. They just didn't take the time to port, apparently.