3 ms·
Do you mean it’s no point in writing a GUI toolkit in Rust?
by actionfromafar 3y ago
Do you mean it’s no point in writing a GUI toolkit in Rust?
- guappa 3y agoYou'd never be able to compete with qt anyway.
- bluGill 3y agoYou could - if you have several hundred full time developers working on it for years. This probably means you pay them, but the count of full time developers is the important part.
- mathverse 3y agoThat cant be true. Why does QT need hundred of developers when the core product can be done by a single person? (see Sciter)
- bluGill 3y agoDetails are hard. The core might be doable in a basic form by one person, but there is a lot more than the core that needs to be done. All those little details add up - they are only a small improvement, but all those small improvements adds to polish.
- amelius 3y agoIt would make sense to have a library that can do basic Svg/Canvas things, in Rust. From there, people can write all sorts of GUI libraries.
- simion314 3y agoYeah but Qt does a lot more, to match Qt you would need a similar effort. I remember some time ago was a popular article shared here on how hard it is to render text when you need to consider all the languages and all the font types and all the options. So it wold be easy to paint some shapes and some english text in the happy case and it would probably be enough for video games but then you need Widgets that will work with different user preferences, different languages, different color schemes, different DPIs, different platform conventions. Then you want to access the clipboard, the App settings folder, the notification system, maybe embed a webview to show soem html content ... Qt does a lot of things if your job is to make a professional complex Desktop application starting from basic building blocks and wasting your time on the Widgets and platform stuff then on business logic is not a good investment. If you are a hobist and writing Rust makes you super happy then I invite yout o continue.
- amelius 3y agoThe point is if you start with a good foundational layer, then a community can build greater things on top of it. Of course, it will take time and if you're looking for a great library that can do everything out of the box, now, then you should pick Qt, there's no doubt about that.
- simion314 3y agoYou need a big community that can build a Qt alternative, we have Linux as an example of a community project but the reality is there was a lot of money behind it, so you need a Rust community with a lot of money behind it so developers will be paid to work on the non-cool stuff.
- guappa 3y agoBut who'd contribute when qt is already there? Getting contributions is nearly impossible. Getting them for a not so useful vanity project is probably impossible.
- amelius 3y ago> But who'd contribute when qt is already there? Because it will be written in pure Rust (with all the memory-safety advantages that come with it).
- simion314 3y ago>Because it will be written in pure Rust (with all the memory-safety advantages that come with it). I do not think that Rust enthusiasts will waste their free time reimplementing complex, boring stuff in Rust, only if they are paid, otherwise they will work on a new Rust game engine, or TODO app, or AI, WASM or something cool. Something as big and as high quality as Qt can't be implemented by 3 guys in weekends, maybe if they get Patreon support os they can work full time they can get the easy part done. I do not think Qt suffers from memory issues so nobody would pay to rewrite it, but maybe we will have some super simple GUI framework you could use for GUI in video games or some simple English only , zero customization , simple apps.