Re:Say no to Electron: use JavaFX to write a fast, responsiv...
by harrygeez on Tuesday October 03, 2017 @01:49PM
(#15394413)
It's not about superior tech. Devs don't care. Electron let's developers use all the library and frameworks that they are familiar with, that's what that matters.
I hate Electron apps but I can see why people do it. It's very tempting to be able write desktop apps with the web's best frontend technologies.
Re:Say no to Electron: use JavaFX to write a fast, responsiv...
by oso2k on Wednesday October 04, 2017 @01:25AM
(#15398451)
I'd also add that JS + Swing apps on top of Nashorn/Rhino also work really well.
Re:Say no to Electron: use JavaFX to write a fast, responsiv...
by amcca029 on Tuesday October 03, 2017 @12:28PM
(#15393617)
> but with none of the advantages like great tooling, great languages, UI builders and so on.
Its funny you say this while using java
Re:Say no to Electron: use JavaFX to write a fast, responsiv...
by e12e on Tuesday October 03, 2017 @01:02PM
(#15393917)
Using the jvm.
So java 9, Kotlin, Scala or kawa (scheme), abcl (common lisp), clojure (nu lisp:), jython, jruby. While there are compile-to-js languages too (including Kotlin, Scala, clojure :) - there is quite a lot more history around jre/jvm languages for production desktop use.
JavaFX apps work just fine on Linux. Not even fine, they work well. I know because I've written them and tested them on Linux. And not just trivial toy apps: the app I wrote was a full blown peer to peer app with an integrated Bitcoin wallet, a Twitter Bootstrap themed UI, file associations, visual effects like animated Gaussian blurs and an integrated auto-update framework.
There's nothing magic about Electron. It's just another desktop app toolkit. There's no good reason to use it except developer familiarity with HTML. It gives you all the disadvantages of desktop distribution (you have to provide your own auto update framework, get users to download the app) but with none of the advantages like great tooling, great languages, UI builders and so on.