Ask HN: 2020, Language and Framework for Cross Platform Dev (Especially Desktop)
I'm building a certain project and even though I'm a little biased towards just developing it for the Mac since I don't want to write and/or maintain 3 repositories for it , I'd like to know what HN community thinks would be a good selection right now
22 comments
[ 3.1 ms ] story [ 66.7 ms ] threadIt has a pretty awesome developer experience and for me is the clear winner for Cross Platform Dev.
But thanks anyway. I've built a few apps using Electron before.
You also said you don't like the layout system, but there are packages for that [2]. Let me know what else you would find annoying, there are usually packages for most things. There are even algebraic data types in Dart through code generation.
[0] https://github.com/flutter-rs/flutter-rs
[1] https://github.com/go-flutter-desktop/go-flutter
[2] https://github.com/ReinBentdal/styled_widget
Yes VSCode has decent performance, but watch some of their tech talks about what they have to do in order to reach that level of performance - its insane. The amount of time, effort and increased complexity that is required to make an electron app get close to native performance makes it not at all worth it. And despite all those efforts, VSCode STILL isnt as fast as Sublime.
Electron is like a welder trying to build a house out of metal - sure he probably CAN make it work, eventually, but he really should have just learnt brick-laying and done it the proper way. Even though he managed to build a house without learning anything new, it would've been quicker and better if he had just sucked it up and learnt how to lay bricks rather than trying to build a house out using a far inferior material. (I'm sure there is a better analogy out there but you get my point).
But if front-end GUI widgets literally are your app or a high % of it, then this falls apart. You're basically maintaining 3 separate apps at that point.
There used to be Adobe AIR, JavaFX, Silverlight. Now we have Electron, Qt, maybe Flutter soon. Is Eclipse RCP or Netbeans still viable?