Usage, cpu/mem bloat, dependencies, ethic, will all be all wrong...
Usage, cpu/mem bloat, dependencies, ethic, will all be all wrong...
But these 2 solutions for GUI are not prime candidates for users on Linux.
Compared to a c#/mono app, Electron can be relatively light in term of dependencies to run.
And as you can easily notice, very very few "java" GUI applications are successful on Linux computers.
Users would use a java application only when there is really no other program available for a purpose.
The only thing I had to do was installing some fonts in order to make pdf generator works.
Mem usage is generally between 100-300MB for I'd say 98% of the time (sometimes somebody wants to generate not-small Excel files and it spikes). Of course it says nothing because you don't know what the app does, but it's just some reference point.
You can try it out here[0], too. I open sourced it.
And "hello world" binary download size is 10 Mb for Windows.
I can't swear that it will really be the case, but here are some examples of kind of thing that I expect:
- Icons, window decoration, style, not matching the system.
- Copy paste issues, for example the middle click not working.
For "dependencies", not considering the real dependencies, you will have to force your user to install mono and its own dependencies. As the application will run on this, in a similar way that you would have to install a JVM + classpath for Java apps. And this one is really fat an ugly.
For "cpu bloat", even if JIT can be more efficient on the long run, there is usually a higher cost at startup. For GUI application that you start often, like a calculator, that could be annoying.
For "ethics", the code will have to run on the mono(ie .net) kind of jvm and so you are dependent of this engine to run your code. And this engine, even if mono is the open source one, is controlled by Microsoft. They control the language, they control the features, and it is not the spirit that built the linux community to rely on "base components" controlled by Microsoft. It is a little bit like the control that Oracle has on Java even if not completely similar.