by alkonaut · 9y ago · 0 comments
Then for gods sake make it lean. Set a resource budget and stick to it. Don't assume your product is a special snowflake that your users will want to waste resources on.
The easiest way is usually to just use a native toolchain and UI. Your users don't care how easy it is to find js devs.
Qt/QML abstracts over a ton of platforms, lets you write UI code in JavaScript, is extremely easy to pick up, has a WYSIWYG drag-n-drop editor and consumes a small fraction of the resources Electron does.
The overuse of Electron is not because everything else is impossibly hard; it's just old-school fashion-driven development.
Doom and Half life were at their core exceptionally optimized C.
Their user do absolutely care about UI/UX. If you're going to implement it native without all the "free" things you get from the web stack, and its popularity, the UI is most likely going to suffer.
Most of the web is a usability nightmare.
Compared to the web stack, it packs much more free things relevant to desktop development. The examples of such things are animations, composition, data binding, pixel shader effects, and vector graphics.
Also WPF renderer is based on Direct3D, I would expect better performance.