I'm reminded of this article [0], about just how bad Electron is compared to native apps.
[0]: https://josephg.com/blog/electron-is-flash-for-the-desktop/
I'm reminded of this article [0], about just how bad Electron is compared to native apps.
[0]: https://josephg.com/blog/electron-is-flash-for-the-desktop/
It reminds me of "Adobe Air", all over again.
I also don't think you'd see nearly the level of extensions and language support if they didn't go with an electron based solution.
- Many people know VS Code before that
- It was a bug, not something inherent to Electron
VSCode just makes an tolerably-fast Electron app. Still doesn't solve the CPU usage, battery hungrinees, and memory hoginess of the platform.
Electron enables a very large population of programmers and designers to produce useful applications using very evolved UI tech which can be multiplatform with nothing more than zipping with the right runtime - much easier than "native" or arcane cross platform UI libraries.
So of course people will develop useful stuff on it amd people will use it.
Maybe they'll figure something out.
Other cross platform solutions are not nearly as heavy (though they might have other issues).
Both perform within a small margin of native code, with the major exceptions of vector instructions that aren't supported by all CPU's
I lost count how many times I have reviewed code where a for loop is used instead of System.arrayCopy().
Or the times I have seen code that my CS data structures teacher would probably give a plain 0, even if done in C.
I'd love to make them code in rust, their inability to write code, to even copy/paste it will save so many maintenance problems.
There is precedent for this in Netty where they use a native poll mode driver and everything else Java, and it performs about as fast as pure C code on Techempower benchmarks