is it possible to develop gui using html css and rust since rust support web rendering engine
I should note that users hate Electron apps for a good reason - you run browser copies for just a couple widgets. So if you do not despise your users, forcing them to buy more RAM for no reason - I would recommend to use proper frameworks:
Indeed there's a whole homepage about Rust and GUI devellopment. Maybe you should check it out.
In addition, there is a big topic about this, already.
Generally, as @XVilka mentioned there are a number of creates/frameworks for GUI development in Rust, already. None of them seams matrure, however.
The biggest problem is that most GUI-frameworks are heavily OOP, relying on inheritance which is hard to rebuilt in Rust and very unidiomatic.
Moreover, often pointer-cycles are used (parents have array of children; children have pointer to their parent) which is generally bad but worse in Rust (think of doubbly-linked lists ).
so gtk+ will be good option since it is written in c language
I was going to link to the same mega-thread. But here's a list of the options from that thread which I feel are worth mentioning (again):
web-view provides the least friction, and is an excellent alternative to shipping all of Chromium+nodeJS (e.g. Electron).
skryn are both based on
webrender, but they are both in the very early stages of development.
nuklear are ideal for adding a GUI to games (since you're most likely already dealing directly with the GPU anyway).
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.