Re:One Year with Rust: I wrote a full featured application i...
by frozenport on Saturday February 25, 2017 @05:37PM
(#13734281)
How do I make a GUI application in rust? Does it have support for Qt, MFC, or maybe WPF?
[ Parent
| on HN ]
Re:One Year with Rust: I wrote a full featured application i...
by noahadavis on Sunday February 26, 2017 @03:15AM
(#13736238)
I can't send you links, but you can make GUIs using GTK and QML. The QML crate by cyndis is no longer being maintained, but there is a new one by White Oak. Just add "qml" or "gtk-rs" to your project's cargo.toml file.
Re:One Year with Rust: I wrote a full featured application i...
by vitiral on Saturday February 25, 2017 @06:35PM
(#13734569)
Just personal opinion here, but I think GUI's should/are being phased out. I much prefer writing a front-end web app and package it inside the application. That's what artifact does.
Re:One Year with Rust: I wrote a full featured application i...
by frozenport on Sunday February 26, 2017 @12:27AM
(#13735827)
But at present I don't know how to use this approach for the imaging or CAD software I develop.
I need the ability to share GPU data between front and back ends, along with accurate timings for the control of various hardware devices. This is possible with Java (think the design of MATLAB or Mathematica) but the additional glue to enable cross language communication doubles the code size. That is why I'm sticking to C++ and Qt.
Re:One Year with Rust: I wrote a full featured application i...
by vitiral on Sunday February 26, 2017 @05:53PM
(#13740488)
CAD software would definitely be an exception!
I think they are JUST starting with some gui frameworks for rust,so I think the language is a little behind there. Never done extensive searching though
Re:One Year with Rust: I wrote a full featured application i...
by setr on Sunday February 26, 2017 @03:05AM
(#13736215)
I'm pretty sure that its just case of low-hanging fruit; its difficult to claim that webapps are at all effecient in their work, its just that most gui's don't actually have much work to do. But native apps are clearly preferable when a heavy interface is part of your app's usage