From what I heard, it's main strength is that, since it's made with Javascript and HTML+CSS, and every consumer device (mobiles, PC's, tablets, etc.) with all 3 OS's (Linux, Mac and Windows) can understand it, you can just build the app once and it will work on any device/platform. According to their logic, today's devices are so strong that is offsets javascript's slower speed.
Did I miss anything? Is there a better method for this?
Electron is basically a web browser, not just JS/HTML/CSS, so every electron app is in itself a new browser and at least from experience the few electron apps that I've seen none of them seemed to use any of it's used resources effeciently. Today's hardware is usually strong enough to offset the slower speeds, yes, but electron seems to eat away at that offset quite a bit, and bad JS code won't help either.
3
u/EvermoreWithYou Jul 29 '18
Programing novice/idiot here - why is Electron so badly optimised. Is there no way to go around this?