5 ms·
from which other language can I make a GUI with Qt while doing low-level graphics and DSP?
by jcelerier 1y ago
from which other language can I make a GUI with Qt while doing low-level graphics and DSP?
- binary132 1y agoProbably zig tbh
- tauoverpi 1y agoYep, there's the range https://github.com/rcalixte/libqt6zig https://github.com/rcalixte/libqt6zig to https://microzig.tech https://microzig.tech and soon https://github.com/ziglang/zig/issues/2683 https://github.com/ziglang/zig/issues/2683 then follow-up issues are resolved.
- dralley 1y agoWhy is Qt the only option? Rust has plenty of suitable options. Slint is used in production and works on tiny embedded devices.
- vhantz 1y agoName one of those plenty suitable options rust have to replace something like Qt.
- emmelaich 1y agohttps://www.egui.rs/ https://www.egui.rs/ is not a million miles away. As far as I can tell it requires Gl or WebGl though.
- 5d41402abc4b 1y agoQt is more than a GUI framework. https://doc.qt.io/qt-6/modules-cpp.html https://doc.qt.io/qt-6/modules-cpp.html
- emmelaich 1y agoSure, but the topic is the GUI or so I thought.
- jcelerier 1y agoI definitely had my eyes on slint for quite some time (pretty much since it was announced - I highly value the technical skill of their team) but it's still quite far from the whole QWidget offering. I don't know anything else that is even remotely in the same ballpark - certainly not Tauri or egui for instance. Anything that is GPU based is blacklisted from the get go (including QtQuick) - people who preach gpu based GUI have definitely never tried to have a quick debug feedback loop with an app built using AddressSanitizer where just opening the simplest GL or Vulkan context takes up to 20 seconds on a good day.
- 5d41402abc4b 1y agoSlint is not a replacement for Qt. Slint only provides a tiny fraction of what Qt has to offer https://doc.qt.io/qt-6/modules-cpp.html https://doc.qt.io/qt-6/modules-cpp.html
- jenadine 1y agoOnly the GUI part is relevant for this discussion as this is what Qt is know for. Other modules also have different Rust crates equivalent, or are really niche and nobody uses them.
- jcelerier 1y agothat's really not true. There are thousands of projects using e.g. QtSerialPort (https://github.com/search?q=include+QSerialPort&type=code https://github.com/search?q=include+QSerialPort&type=code) Qt3D (https://github.com/search?q=include+Qt3D&type=code https://github.com/search?q=include+Qt3D&type=code) QtWebSockets (https://github.com/search?q=include+Qt3D&type=code https://github.com/search?q=include+Qt3D&type=code) QtSensors (https://github.com/search?q=include+qtsensors&type=code https://github.com/search?q=include+qtsensors&type=code) Qt SCXML (https://github.com/search?q=include+qstatemachine&type=code https://github.com/search?q=include+qstatemachine&type=code) etc etc.. Qt's value is as an app framework where you can assume interoperation across the same async runtime and enjoy a cohesive set of APIs for all your app's needs.