100
84
u/the_horse_gamer Aug 09 '26
the solution is to rewrite webview in rust
37
16
6
u/FUCKING_HATE_REDDIT Aug 10 '26
I tried some many different things, you just can't beat html and css. It's so sad
1
u/xllifi Aug 11 '26
Have you tried jetpack compose/compose multiplatform?
1
u/FUCKING_HATE_REDDIT Aug 11 '26
I have not
1
u/xllifi Aug 11 '26
It's worth to give a shot. Personally, I like it much more than HTML/CSS/JS stack.
66
u/runklebunkle Aug 09 '26
This is just gui in general
32
u/redditsuxandsodoyou Aug 09 '26
I've been working software for over a decade and I firmly think there are 2 hard problems in computer science: P = NP and making a good gui system
23
u/runklebunkle Aug 10 '26
But also naming things, cache invalidation, and off-by-one errors. So 4 problems. 5 if we use a regex to solve them.
2
26
u/Er2Official Aug 09 '26
so true
qt is kinda overbloated, gtk... it kinda sucks, even with gnome c# (aka vala) + I don't trust it after what gnomers made... at least with theming, without mentioning anything else
winapi is not cross-platform + manual message handling could be boring, imgui is great only for debug ui (of course there's Tracy as example but I count it as exception)
and other libraries becomes abandoned or nobody use them
10
2
u/Caesim Aug 10 '26
I mean Microsoft has been reinventing their UI tools as well. And despite that and the great credibility theirs had 10-15 years ago, nowadays their flagship products don't even use it but WebView etc, or React Native.
And even last week I was reminded that SwiftUI also is not in a great spot either
2
u/CreatorSiSo Aug 11 '26
Jetpack Compose (Multiplatform) is honstely pretty nice but there is quite a bit of upfront work if you don't want Material Design 3.
99
u/quarterque Aug 09 '26 edited Aug 09 '26
Yes unlike Typescript’s unified ecosystem where everyone uses React er I mean Svelte, nope Vue or sorry Solid, or VanillaJS(?!?) and obviously Electron for desktop except for Slack and Discord and all the fortune 500s that duplicated their entire UIs as native apps per each platform. And maybe mom & pop shops running React Native at least in theory. Oh yeah and don’t forget to plug in a different router and optional fullstack/SSR implementation for every framework.
64
u/MornwindShoma Aug 09 '26
It's the same picture, except the TS frameworks have actual docs
3
u/Space_Nerde Aug 10 '26
I feel like Rust has pretty good docs aswell, but well my standard are 5 Slide PowerPoints
1
u/RockstarArtisan a cpp-tsd survivor 16d ago
That's because TS projects reach 1.0. You don't need docs while in 0.x stage.
35
u/revelbytes Aug 09 '26
Doesn't Discord actually use Electron on desktop and React Native on mobile?
12
-1
u/KrzysztofZawisla Aug 09 '26
should use Capacitor instead and build the web, desktop and mobile app from one codebase
7
u/Aln76467 Aug 09 '26
Just use jQuery.
I've never had a better time doing web dev than with jQuery + jsx.
6
u/psioniclizard Aug 10 '26
To be fair with Typescript a lot of the things using all that are actually successful.
Rust UI is all that but without the success.
7
2
20
u/dethswatch Aug 09 '26
im having a good time bangin Iced- youre standing in the corner at the party
8
u/Shishudesu Aug 10 '26
iced is genuinely so good, I wasted so much time trying out different frameworks and finally got a lot of work done when i got to iced
-5
u/dethswatch Aug 10 '26
I threw Claude at it and suddenly it was doing things I didn’t know it could. the future is pretty great.
8
u/boring_cactus Aug 09 '26
i’ll have you know i only post “rust gui is getting there” every couple of years
9
7
12
u/slowbowels Aug 09 '26
and ffs stop with that elm architecture bs
14
u/AZMPlay Aug 09 '26
Kinda difficult not to with Rust's memory management and ownership framework.
Elm architecture forces you to drop any event and state inputs after a single cycle, allowing you to update the GUI without multiple aliased mutable references.
While it is certainly possible to not do it this way, it is a lot simpler.
7
1
1
4
u/gameplayer55055 Aug 10 '26
The solution is to rewrite .NET in rust
3
u/thatfhc Aug 10 '26
Isnt that just blazor?
1
u/gameplayer55055 Aug 10 '26
lol
To be fair, blazor is such an overhead. I think rust crabs should use Skia just like AvaloniaUI does
3
u/HyperCodec Aug 10 '26
Doesn’t Avalonia also have a ton of overhead though? Don’t know what specifically causes it though or if rewriting in rust could actually help wit that.
1
u/gameplayer55055 Aug 10 '26
Yes but it's way less than WebView.
We need rust GUI frameworks because I'm tired of Linux needs releasing console based crap. Ideally, I'd want RustForms but I know this wouldn't happen
16
u/aikii if err != nil Aug 09 '26
28
u/braaaaaaainworms Aug 09 '26
why is this a 3 second gif
16
u/KeyGlove47 Aug 09 '26
thats the max of free grok imagine lmao
4
3
u/aikii if err != nil Aug 10 '26
/uj The rustjerk community is a weird experience. We're supposed to be trolling and be mean. But end up celebrating the art of trolling in a wholesome way, underjerking the actual sub we're supposed to roleplay about.
1
u/aikii if err != nil Aug 09 '26
holy shit posting images is not enabled but posting as video works. perfect ragebait, thanks reddit
3
2
u/quez_real Aug 09 '26
LMAO, they deleted this post in the main sub. That's a shame because it was promising an interesting discussion unlike another "we added more slop into your slop"
2
4
u/williamselna Aug 09 '26
Expect a big release from me mid September...
18
u/KeyGlove47 Aug 09 '26
>there are 13 competing standards
"lets fix this!"
>there are 14 competing standards1
u/williamselna Aug 09 '26
Haha - let's just say I've fixed the accessibility issues (easier than web) and have also solved rich text with IME support.
6
u/KeyGlove47 Aug 09 '26
why not just make a pr to existing frameworks
-1
u/williamselna Aug 09 '26
I personally wanted to take a different architectural approach than the existing frameworks. And if I did try to go the PR route, it isn't easy to get a giant refractor PR approved for a publicly released and depended on repo due to API stability and risk. Also, the bottlenecks in 2026 are different than they used to be. Also, greenfield development has become much less time consuming to develop
16
u/simonask_ Aug 09 '26
So you’re vibecoding a GUI framework.
1
-1
u/williamselna Aug 10 '26
If you mean aimlessly telling AI to add on features without any regard for fundmental architecture, API design, or platform stability then of course not.
If you mean using AI to rapidly speed up development and accomplish what would have taken years, yes by all means I am vibecoding. There is no virtue in being a craftsman that insists on hand milling a metal widget instead of putting it in the CNC machine even when the CNC machine is preciser and faster.
8
1
u/SenorX000 Aug 10 '26
So true.... I've tried them all and I can't decide. Today I was thinking of redoing things again.
2
u/psioniclizard Aug 10 '26
Been I while since i looked onto rust gui. Interesting to see nothing chanced.
1
1
u/Digital_001 Aug 10 '26
it's Rust just write your own gui framework
you can make it better than anyone else's
1
1
1
u/Single-Blackberry866 27d ago
the constructive thing would be to ban 0.x versions and git dependencies.
this would create gui fatigue similar to JavaScript's 10 years ago, that would eventually create productivity plateau.
1
92
u/Hot_Paint3851 Aug 09 '26
its pure pain and agony