4 ms·
What is the closest thing we have left that is close to “mostly declarative GUI”? QML? Tk? Please don't say Electron.
by ainar-g 7y ago
What is the closest thing we have left that is close to “mostly
declarative GUI”? QML? Tk? Please don't say Electron.
- fiddlerwoaroof 7y agoReact Native? SwiftUI?
- tomc1985 7y agoGTK sort-of fits the bill
- djsumdog 7y agoI recently built something with PyQt bindings and it works really well: https://gitlab.com/djsumdog/mpvbuddy https://gitlab.com/djsumdog/mpvbuddy
- tomc1985 7y agoIn my previous job I wrote a couple of not-too-complicated apps targeting Linux in PyGTK and I found it to be pretty pleasant, except when it came to custom styling.... mainly because the styling language does didn’t seem well documented and i found it to be somewhat arcane. Didn’t stop me though and the project got done. I wouldn’t mind working with it again
- FussyZeus 7y agoUgh, Electron. I'm sure there are ways to make it good but sweet Jesus Electron is not it, at all.
- repolfx 7y agoThere's JavaFX with FXML.
- zerkten 7y agoXAML, but it Microsoft-specific. While not completely uniform its use does extend across desktop and mobile. I wouldn't make the argument that it's intuitive or simple, but it is powerful.
- pjmlp 7y agoJavaFX and QML are pretty much based on XAML.
- zaphirplane 7y agoXaml and Javafx where released within 6 months of each other I kinda expect parallel implementation rather than copying. Just form the dates in Wikipedia
- pjmlp 7y agoJavaFX was initially J3, and then it was rebooted into XAML like. Also you're forgetting Longhorn SDK was available as preview before the project was canned. But yeah just conspiracy theories from my side.
- Marazan 7y agoMXML. The Markup system for Adobe Flex is almost certainly the inspiration for both.
- zamalek 7y agoWPF is open source[1], but there isn't any effort to port it as far as I know. WPF also had a few warts compared to Silverlight. [1]: https://github.com/dotnet/wpf/ https://github.com/dotnet/wpf/
- lpcvoid 7y agoLazarus/Freepascal. Cross platform, real native x86_64/ARM/Atmel/Etc.