News for hackers. Stuff that matters.
Re:Say no to Electron: use JavaFX to write a fast, responsiv... by kodablah on Tuesday October 03, 2017 @12:31PM (#15393644)
> there's better alternatives than JavaFX (use Qt).

I've recently written a decent-size Qt app (QtWidgets, not QML) and the problem is the language. C++ leaves a lot to be desired especially coming from higher level languages. If you look around at language bindings, the only quality one I can find is Python and I want to avoid that too (I don't want to build a large app in a dynamic lang). Couldn't use Go, I needed MSVC to interoperate. Rust bindings had drawbacks or were incomplete. Etc. (I probably need to revisit D's Qt binding)

I just want a full-featured (i.e. not QML) widget framework in Rust, Go, D, or some other high-level non-VM cross-platform language. I'd even take C bindings because we can work from there. And I want the widgets to appear native. C# + WinForms would be great if it worked great on non-Windows and was easy to interoperate with third party C-level widgets. WxWidgets is C++ or dyn lang (though there was a C binding maintained by Haskell devs IIRC), Gtk doesn't look very native, etc.

Widget-based desktop development will continue to lose to these alternatives while there is not a good widget library on a good sans-baggage language.

Edit: Just saw https://github.com/christolliday/limn (https://www.reddit.com/r/rust/comments/73w227/limn_gui_libra...) ...a good start!

Re:Say no to Electron: use JavaFX to write a fast, responsiv... by jcelerier on Tuesday October 03, 2017 @02:34PM (#15394814)
> I just want a full-featured (i.e. not QML)

what are you missing with QML ?

Re:Say no to Electron: use JavaFX to write a fast, responsiv... by kodablah on Tuesday October 03, 2017 @02:42PM (#15394888)
In my case, I needed to subclass QWidget to get native handles and do native things to embed Chromium (via CEF). There might be more, but it seemed appropriate to use QtWidgets from the start for my use case.
Re:Say no to Electron: use JavaFX to write a fast, responsiv... by jcelerier on Tuesday October 03, 2017 @03:19PM (#15395231)
I guess you have your reasons... but why not use the "official" way to embed chromium in Qt (QtWebengine) instead ? This would work both in widgets and qml.