The comparison sections are very confusing. It says you will compare your UI toolkit with, for example, Flutter and then there is no comparison there at all. I thought the site is broken on mobile, I tried different browsers, etc, because the comparison was just not there. If you don't have any real content there because you don't want to start a flame war, you could try something like what the Flutter team did, they…
This is what I do: - Write the backend in Rust - Write the UI in Flutter - Tie them together using gRPC. You get an API and ability to run client and server on different machines as well I looked at the flutter to rust bridge and started to play with it, but assuming your UI can withstand the slight overhead of gRPC I found it a simpler way to proceed (although I'm not that far in yet)
Show HN: Slint – A declarative UI toolkit for embedded and desktop
131–140 of 152 posts
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#132Earlier quoted context omitted.
> (pressumably) Why do you suppose this in particular?
my lack of imagination as to what might be otherwise motivating HN members to "engage" in this way :-) I mean I can't imagine anybody having an independent interest in the project (like I do) and actually thinking that the comparison provided was adequate. As said in my original comment, this is an area where a sense of sub-optimal status quo is palpable and people search for some sort of rationalization of the vario…
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#133Earlier quoted context omitted.
Disclaimer: I work for Slint I suppose you are referring to the "Embedded Add-on per application" pricing? At least the non-commercial use is hopefully clear :) Yes, we need find a better way to show the pricing there since it's dependent on 2 variables - volume and type of embedded system. Maybe some sort of a online calculator?
I always assumed "call us" pricing was to give a salesperson the opportunity to negotiate the best deal for the seller.
Qt hasn't quite learned this. Their embedded pricing is absurd.
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#134Earlier quoted context omitted.
I'm looking at something similar with Go as the backend. Why gRPC instead of a pipe? I started with that as well since it was really easy to set up but that comes with the caveat of requiring network permissions even though it's local to local communication.
Pros and cons: with a pipe it will be up to you to create your own message delimiters and protocol, so a pipe is somewhat lower level. You also limit comm. to just that machine, but that may be a pro if that is what you are looking for (omits need for things like username/password or locking to 'localhost'). Lastly, you do not gain an API for your users to consume (if that makes sense for your app - it doesn't always…
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#135Fits easily in 128kb boards
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#136Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#137The toolkit still seems quite incomplete for desktop use (as opposed to embedded/appliance UIs), as it doesn't support menu bars in an issue open since 2020: https://github.com/slint-ui/slint/issues/38
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#138Earlier quoted context omitted.
Oh it's certainly not for me, no question about it. Yet, it's curious that you compare Slint to LVGL/Flutter/Electron (I don't know about Qt) when none of them have this intrusive requirement. --- >What's intrusive about it? (a) Display the AboutSlint widget in an "About" screen or dialog that is accessible from the top level menu of the Application. (b) Display the Slint attribution badge on a public webpage, where…
Not a dev, but I've often seen software that acknowledge their dependencies in About sections and on their websites. Is that particularly intrusive? Especially given that you could always use the GPL too if you want.
I would have no problem listing a library in the About dialog, but dictating the use of special icons and then all of those other requirements goes further than I've seen in any similar product.
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#139This looks really neat, I played with it a bit and the DSL is well thought out. One thing I can't figure though: how do we set default values for internal Struct? Said default values are mentionned in the documentation (here: https://slint.dev/releases/1.0.2/docs/slint/src/reference/ty... >). // ok even if a is missing, it will just have the default value
But since this is something that was asked before, I created an issue: https://github.com/slint-ui/slint/issues/2936
Re: Show HN: Slint – A declarative UI toolkit for embedded and desktop
#140The in-browser demos (using WebAssembly) are surprisingly fast and responsive (very different from the Flutter demos that I remember). Very cool! Also, I just realized I had checked out this project before when it was still called SixtyFPS, https://slint.dev/blog/sixtyfps-becomes-slint . Maybe it would make sense to mention the name change in your post.