Earlier quoted context omitted.
Just to clarify: are you talking about the image next to Desktop in https://slint.dev/use-cases#desktop-applications ? Indeed, we'll improve on that. Thanks for your feedback! For the story, we initially had screenshot of an actual commercial desktop app, but we were asked to remove it by the author until the app is actually released. So we went with that set of of widget instead, which is a prototype of the Cosmic s…
I am not a designer (not for 20 years now) but that desktop image (rotating gif of different styles) is not a good advert. There are many, many layout issues with those that I would really spend time to try and make "default" look right out of the box (and in line with platform HID guidelines). I am a Rust developer, and I think Slint could be amazing, but those things will put off people who are driven by design qua…
Show HN: Slint – A declarative UI toolkit for embedded and desktop
121–130 of 152 posts
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#122Nice to see that Qt finally gets some competition! The pricing alone is a no-brainer. Now the only thing I'm missing from the demos is smooth scrolling :)
I can't find it now, but I remember looking at slint a few months back and finding out that native widget support on the desktop required QT. Is this not true?
Reference: https://github.com/slint-ui/slint/blob/master/docs/install_q...
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#123Earlier quoted context omitted.
I wish that there was some GUI lib dedicated to small embedded systems, I just want to draw some buttons and sliders without eating hundreds of flash/ram...
Have you looked into fltk-rs?
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#124There is often a criticism of Javascript, that new frameworks seem to appear every week. But it honestly feels like every week on HN there is a new Rust UI project showing up. Whether it is some new HTML/web thing, a native app thing, a TUI thing, etc. Don't get me wrong, I think that is the sign of a very healthy ecosystem. I am just curious how the Rust evangelists will spin this. Somehow this constant churn on the…
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#125Earlier quoted context omitted.
I wish that there was some GUI lib dedicated to small embedded systems, I just want to draw some buttons and sliders without eating hundreds of flash/ram...
Some popular embedded display controllers have commands to draw primitives.
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#126Earlier quoted context omitted.
Thanks :) Since Qt is a much broader toolkit, we are considering of writing dedicated blogs to do an objective comparison between the two toolkits on the GUI part only.
Please do! And, speaking as a Qt programmer, address the biggest pain points that Qt user have. Number one: get a virtual keyboard that supports the biggest world languages without a commercial license. That would make me an instant convert.
For the short term, we have an example that some of our community users and commercial customers a using to build their custom virtual keyboard
https://github.com/slint-ui/slint/blob/master/examples/virtu...
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#127Earlier quoted context omitted.
Please do! And, speaking as a Qt programmer, address the biggest pain points that Qt user have. Number one: get a virtual keyboard that supports the biggest world languages without a commercial license. That would make me an instant convert.
Thanks :) For the short term, we have an example that some of our community users and commercial customers a using to build their custom virtual keyboard https://github.com/slint-ui/slint/blob/master/examples/virtu...
I'm pretty fed up with Qt and I'm getting kind of excited to start experimenting with this.
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#128Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#129What's the catch? There's always a catch, like "turns out it's just WebView" or "turns out only the android and Linux CDE implementations actually exists" or "call us for pricing"
> Free for non-commercial use.
> For commercial use, the runtime fee is based on volume and type of embedded system.
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#130Ignoring for a second that "Slint" is only slightly better than "60fps" as a name for a GUI library, I think using a custom domain specific language for configuration is a giant mistake. It really is not difficult to just call functions to set values. Laying out GUI components is also rarely what takes time when doing GUI programming. A brand new custom domain specific language has almost no benefits but has huge dow…
DSLs are not inherently more difficult to learn than API and conventions of a complex GUI library. DSL offer benefits in terms of expressiveness and conciseness. The focus in UI programming is on rapid iteration and immediate results, which can be facilitated by a live preview in the IDE made possible by a declarative DSL
In theory maybe, in practice the indirection and extra layer of syntax, error handling, documentation and edge cases mean this is not true. Also this is an assertion without any evidence.
DSL offer benefits in terms of expressiveness and conciseness.
Prove it.
The focus in UI programming is on rapid iteration and immediate results
I have never thought that setting up values through functions was not rapid. It has never been a bottleneck or time sink when making a GUI. Unfortunately, using custom markup languages that don't work like they say they should has been a time sink.
which can be facilitated by a live preview in the IDE made possible by a declarative DSL
My experience is that this is very minor in terms of overall utility and doesn't actually require a custom markup language.