Hacker News new | ask | show | jobs
by bronak1 2656 days ago
you can do both with https://electronjs.org/
4 comments

Will definitely need to check this out.

I come from the mobile world, and my experience is, from myself and others, that cross-platform solutions always brought more pain than joy.

The latter solutions were great in theory, but created huge problems, when a little bit of a custom behaviour had to be implemented, maybe dependent on the target platform.

Also, when developing natively, there seems to be much more usable open-source code.

Yup, target Windows, macOS, and Linux all with one codebase (and be within epsilon of targeting mobile with Cordova). All with JS. Or preferably TypeScript.
and here comes the discussion about why electron is bad :P
In a world where VSCode runs on electron is there even room for this discussion anymore?
> In a world where VSCode runs on electron is there even room for this discussion anymore?

Opening a 1.5mb markdown file with VSCode idles an i5 3.2ghz quad core at 50%+ CPU and uses 800mb of RAM with only a few extensions loaded.

Also the input latency while typing in an empty file with no extensions is substantially higher than apps using other UI frameworks.

I think there's plenty of room for discussion, especially considering that VSCode is over the top optimized compared to most other Electron apps (which are WAY WAY worse than VSCode).

VSCode is highly optimized and has tons of engineers behind it. If it were me I would do .Net Core and Avalon UI: http://avaloniaui.net/
Looks like Avalon is in beta. Are there any stable alternatives that are production ready?
And you could also gouge your eyes out. But neither would be pleasurable.